eliaperantoni commented on code in PR #14439: URL: https://github.com/apache/datafusion/pull/14439#discussion_r1940882597
########## datafusion/sqllogictest/test_files/errors.slt: ########## @@ -129,26 +129,34 @@ order by c9 # nth_value with wrong name -statement error DataFusion error: Error during planning: Invalid function 'nth_vlue'.\nDid you mean 'nth_value'? +statement error SELECT NTH_VLUE(c4, 2) OVER() FROM aggregate_test_100 ORDER BY c9 LIMIT 5; +---- +DataFusion error: 1 errors, first error: Error during planning: Invalid function 'nth_vlue'. +Did you mean 'nth_value'? + # first_value with wrong name -statement error DataFusion error: Error during planning: Invalid function 'frst_value'.\nDid you mean 'first_value'? +statement error SELECT FRST_VALUE(c4, 2) OVER() FROM aggregate_test_100 ORDER BY c9 LIMIT 5; +---- +DataFusion error: 1 errors, first error: Error during planning: Invalid function 'frst_value'. +Did you mean 'first_value'? + query error DataFusion error: Arrow error: Cast error: Cannot cast string 'foo' to value of Int64 type create table foo as values (1), ('foo'); -query error No function matches +query error DataFusion error: Error during planning: Execution error: User\-defined coercion failed with "Error during planning: The substr function requires 2 or 3 arguments, but got 1\." select 1 group by substr(''); Review Comment: I don't know what caused this change honestly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org