lava-oushudb-dt-sql-parser/test/parser/hive/syntax/fixtures/alterScheduleQuery.sql
XCynthia 6dad62ddf4
check alter sql and syntax (#156)
* check and update abort and alter sql

* delete superfluous space

* update grammar lib after change alter parser

* update alter parser to be compatible

---------

Co-authored-by: zhaoge <>
2023-09-06 11:46:46 +08:00

14 lines
323 B
SQL

ALTER SCHEDULED QUERY sq_1 EVERY HOUR AT '0:07:30';
ALTER SCHEDULED QUERY sq_2 EXECUTED AS 'user2';
ALTER SCHEDULED QUERY sq_3 DISABLED;
ALTER SCHEDULED QUERY sq_4 AS SELECT * FROM tbl1;
ALTER SCHEDULED QUERY sq_5 ENABLED;
ALTER SCHEDULED QUERY sq_6 EXECUTE;
ALTER SCHEDULED QUERY sq_7 DEFINED AS SELECT * FROM tbl1;