GitHub user jamesthomp opened a pull request: https://github.com/apache/spark/pull/21217
[SPARK-24151][SQL] Fix CURRENT_DATE, CURRENT_TIMESTAMP to be case insensitive ## What changes were proposed in this pull request? This PR adjusts the behavior of CURRENT_DATE and CURRENT_TIMESTAMP to be case insensitive. This was previously the behavior prior to the merge of SPARK-22333. ## How was this patch tested? Existing tests + added a new test to specifically catch this case. You can merge this pull request into a Git repository by running: $ git pull https://github.com/palantir/spark jt/case-sensitive-literals Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21217.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #21217 ---- commit 662dd2e1dcd9de2ada87811e116b420f138cfa13 Author: James Thompson <jamesthomp@...> Date: 2018-04-30T20:28:37Z fix case sensitive literals ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org