Skip to content

Commit aaa60e5

Browse files
committed
[SPARK-51916] Add create_(scala|table)_function and drop_function test scripts
1 parent 9c8b0eb commit aaa60e5

File tree

6 files changed

+10
-0
lines changed

6 files changed

+10
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CREATE FUNCTION IF NOT EXISTS bar(x INT)
2+
RETURNS INT
3+
RETURN x + 1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CREATE FUNCTION IF NOT EXISTS foo(x INT)
2+
RETURNS TABLE(a INT)
3+
RETURN SELECT x + 1 AS x1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP FUNCTION IF EXISTS foo
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)