vladimirg-db commented on code in PR #53570:
URL: https://github.com/apache/spark/pull/53570#discussion_r2740467187


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -541,6 +541,13 @@
     ],
     "sqlState" : "58030"
   },
+  "CANNOT_SHADOW_BUILTIN_FUNCTION" : {

Review Comment:
   I also remembered that we have parameterless function calls like 
`current_user` vs `current_user()`. I propose to not allow referencing them by 
the fully-qualified names to avoid introducing more complexity to the attribute 
resolution code, or to the Parser if `enforceReservedKeywords` is true.



-- 
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]

Reply via email to