Skip to content

Commit

Permalink
fix multiline error
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Mar 3, 2024
1 parent ae5fc7e commit f17a50f
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 f17a50f

Please sign in to comment.