yaooqinn commented on code in PR #40768:
URL: https://github.com/apache/spark/pull/40768#discussion_r1166448221
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala:
##########
@@ -742,6 +742,7 @@ object FunctionRegistry {
expression[SparkVersion]("version"),
expression[TypeOf]("typeof"),
expression[EqualNull]("equal_null"),
+ expression[SQLKeywords]("sql_keywords"),
Review Comment:
I might add a little after I have asked ChatGPT for `the easiest way to list
sql keywords from _ dynamically?`
- Postgres: SELECT word FROM pg_get_keywords() ;
- MySQL: SHOW Syntax or information_schema;
- Oracle: V$RESERVED_WORDS system, SELECT * FROM KEYWORDS;
--
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]