pan3793 commented on code in PR #52757:
URL: https://github.com/apache/spark/pull/52757#discussion_r2476291468
##########
sql/connect/client/jdbc/src/main/scala/org/apache/spark/sql/connect/client/jdbc/SparkConnectDatabaseMetaData.scala:
##########
@@ -494,3 +498,61 @@ class SparkConnectDatabaseMetaData(conn:
SparkConnectConnection) extends Databas
override def isWrapperFor(iface: Class[_]): Boolean = iface.isInstance(this)
}
+
+object SparkConnectDatabaseMetaData {
+
+ // SQL:2003 reserved keywords refers to PostgreSQL 9.1 docs:
+ // https://www.postgresql.org/docs/9.1/sql-keywords-appendix.html
Review Comment:
because "PostgreSQL 9.1 is the last version that lists SQL:2003 keywords in
the table" (was explained in PR description)
for example, the latest PostgreSQL 18 docs only contain SQL:2023 | SQL:2016
| SQL-92
https://www.postgresql.org/docs/18/sql-keywords-appendix.html
--
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]