srielau commented on code in PR #46138: URL: https://github.com/apache/spark/pull/46138#discussion_r1574088137
########## sql/core/src/test/resources/sql-tests/analyzer-results/predicate-functions.sql.out: ########## @@ -450,3 +450,18 @@ Project [NOT between(to_timestamp(2022-12-26 00:00:01, None, TimestampType, Some select rand(123) not between 0.1 AND 0.2 -- !query analysis [Analyzer test output redacted due to nondeterminism] + + +-- !query +set spark.sql.legacy.bangEqualsNot=true +select 1 ! between 0 and 2 +-- !query analysis +java.lang.IllegalArgumentException +spark.sql.legacy.bangEqualsNot should be boolean, but was true Review Comment: Oh, missing semicolon.... -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
