Skip to content

Commit

Permalink
sp: allow properties in FLUSH SNAPSHOT syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Masoud Koleini <[email protected]>
  • Loading branch information
koleini authored and edsiper committed Feb 23, 2020
1 parent 05bb774 commit 40a9822
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/stream_processor/parser/sql.y
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ create:
flb_sp_cmd_snapshot_flush_new(cmd, $3);
flb_free($3);
}
|
FLUSH SNAPSHOT IDENTIFIER WITH '(' properties ')' AS SELECT '*' FROM source where ';'
{
flb_sp_cmd_snapshot_flush_new(cmd, $3);
flb_free($3);
}
properties: property
|
properties ',' property
Expand Down

0 comments on commit 40a9822

Please sign in to comment.