Files
email-tracker/external/duckdb/test/extension/consistent_semicolon_extension_parse.test
2025-10-24 19:21:19 -05:00

26 lines
685 B
SQL

# name: test/extension/consistent_semicolon_extension_parse.test
# description: Original issue: https://github.com/duckdb/duckdb/issues/18485
# group: [extension]
statement ok
LOAD '__BUILD_DIRECTORY__/test/extension/loadable_extension_demo.duckdb_extension';
statement error
quack (foo);
----
Parser Error: This is not a quack: (foo);
statement error
quack 's';
----
Parser Error: This is not a quack: 's';
statement error
unrecognizedkeyword ';';anotherunrecognizedkeyword';';;;;;
----
Parser Error: syntax error at or near "unrecognizedkeyword"
statement error
QUACK string_split('hello-world', ';');QUACK string_split('hello-world', ';')
----
string_split('hello-world', ';');