Skip to content

Commit efa073c

Browse files
committed
add empty tests for scalar functions
1 parent a0194e7 commit efa073c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

0 commit comments

Comments
 (0)