Skip to content

Commit

Permalink
fix multiline error
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored and milenkovicm committed Mar 5, 2024
1 parent 83acc8c commit 383602c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions datafusion/sqllogictest/test_files/create_function.slt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ CREATE FUNCTION foo.bar (DOUBLE) RETURNS DOUBLE RETURN $1 + $2;
statement error DataFusion error: This feature is not implemented: Qualified functions are not supported
DROP FUNCTION foo.bar;


# Show it is possible to drop existing (UDF) functions
query I
select abs(-1);
Expand All @@ -49,12 +48,8 @@ statement ok
DROP FUNCTION abs;

# now the the query errors
query error
query error Invalid function 'abs'.
select abs(-1);
----
DataFusion error: Error during planning: Invalid function 'abs'.
Did you mean 'cos'?


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

0 comments on commit 383602c

Please sign in to comment.