Breaking Change: Change syntax to require EMIT STREAM
for persistent queries
#3303
Labels
Milestone
EMIT STREAM
for persistent queries
#3303
As part of the work to introduce syntax to support static queries, (#3300, #3242), we required continuous bare queries to include the
EMIT
keyword, e.g.SELECT * FROM X EMIT CHANGES
. However, to maintain backwards compatibility of existing persistent queries we said thatEMIT CHANGES
on persistent queries was implicit and therefore optional.In the next major release we should switch the syntax to require
EMIT CHANGES
orEMIT FINAL
for continuous C*AS and INSERT INTO statements.The major benefits are:
CREATE TABLE X AS SELECT * FROM Y
to being a statement that creates tableX
that is a snapshot of tableY
at the current moment, rather than a continuously updating copy.The text was updated successfully, but these errors were encountered: