-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(static): initial syntax for static queries (#3300)
* feat(static): initial syntax for static queries The proposed syntax includes allowing queries to have one of the following: * EMIT CHANGES - marking it as continuous, outputting intermediate results * EMIT FINAL - marking it as continuous, outputting final results * WITH CHANGES - marking it as static, outputting intermediate results * WITH FINAL - marking it as static, outputting final results Where: * Persistent queries, (CSAS, CTAS + INSERT INTO), default to `EMIT CHANGES`. * Bare queries, (SELECT * FROM X;), default to `WITH FINAL`. However, this change introduces the minimum set of changes needed for KLIP-8, which is the addition of `EMIT CHANGES` only. * Bare queries without `EMIT CHANGES` will be static queries * Bare queries with `EMIT CHANGES` will be continuous queries * Persistent queries will implicitly be `EMIT CHANGES` until the next major release. The `EMIT CHANGES` is optional, but encouraged as it provides future proofing.
- Loading branch information
1 parent
92b03ec
commit 8917e48
Showing
51 changed files
with
706 additions
and
347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.