Description
After this change: https://issues.apache.org/jira/browse/SPARK-22333
Running SQL such as "CURRENT_TIMESTAMP" can fail spark.sql.caseSensitive has been enabled:
org.apache.spark.sql.AnalysisException: cannot resolve '`CURRENT_TIMESTAMP`' given input columns: [col1]
This is due to the fact that the analyzer incorrectly uses a case sensitive resolver to resolve the function. I will submit a PR with a fix + test for this.
Attachments
Issue Links
- relates to
-
SPARK-22333 ColumnReference should get higher priority than timeFunctionCall(CURRENT_DATE, CURRENT_TIMESTAMP)
- Resolved
- links to