should be it
This commit is contained in:
19
external/duckdb/test/sql/peg_parser/update_statement.test
vendored
Normal file
19
external/duckdb/test/sql/peg_parser/update_statement.test
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# name: test/sql/peg_parser/update_statement.test
|
||||
# description: Test update statement in peg parser
|
||||
# group: [peg_parser]
|
||||
|
||||
require autocomplete
|
||||
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$UPDATE temp.a SET i = 44$TEST_PEG_PARSER$);
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$UPDATE foo SET (key, fruit, cost) = (1, 'pear', 2);$TEST_PEG_PARSER$);
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$UPDATE test t SET a=1$TEST_PEG_PARSER$);
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$UPDATE foo t SET (key, fruit, cost) = (1, 'pear', 2);$TEST_PEG_PARSER$);
|
||||
|
||||
Reference in New Issue
Block a user