Skip to content

Commit 383602c

Browse files
alambmilenkovicm
authored andcommitted
fix multiline error
1 parent 83acc8c commit 383602c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

datafusion/sqllogictest/test_files/create_function.slt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ CREATE FUNCTION foo.bar (DOUBLE) RETURNS DOUBLE RETURN $1 + $2;
3737
statement error DataFusion error: This feature is not implemented: Qualified functions are not supported
3838
DROP FUNCTION foo.bar;
3939

40-
4140
# Show it is possible to drop existing (UDF) functions
4241
query I
4342
select abs(-1);
@@ -49,12 +48,8 @@ statement ok
4948
DROP FUNCTION abs;
5049

5150
# now the the query errors
52-
query error
51+
query error Invalid function 'abs'.
5352
select abs(-1);
54-
----
55-
DataFusion error: Error during planning: Invalid function 'abs'.
56-
Did you mean 'cos'?
57-
5853

5954
# Can't drop the function again
6055
statement error DataFusion error: Execution error: Function does not exist

0 commit comments

Comments
 (0)