Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support live/window views for clickhouse #59

Open
MasterOdin opened this issue Aug 24, 2022 · 0 comments
Open

Support live/window views for clickhouse #59

MasterOdin opened this issue Aug 24, 2022 · 0 comments

Comments

@MasterOdin
Copy link
Member

See https://clickhouse.com/docs/en/sql-reference/statements/create/view, it supports the following two modifiers for creating views: LIVE and WINDOW:

an example usage:

CREATE LIVE VIEW lv AS SELECT sum(x) FROM mt;
CREATE WINDOW VIEW wv AS SELECT count(number), tumbleStart(w_id) as w_start from date GROUP BY tumble(now(), INTERVAL '5' SECOND) as w_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant