-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-21957][SQL][FOLLOWUP] Support CURRENT_USER without tailing parentheses #32770
Conversation
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #139289 has finished for PR 32770 at commit
|
cc @cloud-fan |
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
Outdated
Show resolved
Hide resolved
...rc/test/scala/org/apache/spark/sql/hive/thriftserver/ThriftServerWithSparkContextSuite.scala
Show resolved
Hide resolved
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #139323 has finished for PR 32770 at commit
|
Test build #139330 has finished for PR 32770 at commit
|
thanks, merging to master! |
What changes were proposed in this pull request?
A followup for 345d35e, in this PR we support CURRENT_USER without tailing parentheses in default mode. And for ANSI mode, we can only use CURRENT_USER without tailing parentheses because it is a reserved keyword that cannot be used as a function name
Why are the changes needed?
Does this PR introduce any user-facing change?
no, just a followup
How was this patch tested?
new tests