File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
test/sql/parse_tools/scalar_functions Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # name: test/sql/parser_tools/scalar_functions/parse_table_names.test
2+ # description: test parse_table_names scalar function
3+ # group: [parse_table_names]
4+
5+ # Before we load the extension, this will fail
6+ statement error
7+ SELECT parse_table_names('select * from MyTable');
8+ ----
9+ Catalog Error: Scalar Function with name parse_table_names does not exist!
10+
11+ # Require statement will ensure this test is run with this extension loaded
12+ require parser_tools
Original file line number Diff line number Diff line change 1+ # name: test/sql/parser_tools/scalar_functions/parse_tables.test
2+ # description: test parse_tables table function
3+ # group: [parse_tables]
4+
5+ # Before we load the extension, this will fail
6+ statement error
7+ SELECT parse_tables('select 1');
8+ ----
9+ Catalog Error: Scalar Function with name parse_tables does not exist!
10+
11+ # Require statement will ensure this test is run with this extension loaded
12+ require parser_tools
You can’t perform that action at this time.
0 commit comments