subhramit commented on code in PR #58225:
URL: https://github.com/apache/spark/pull/58225#discussion_r3936632622
##########
sql/core/src/main/scala/org/apache/spark/sql/jdbc/H2Dialect.scala:
##########
@@ -228,7 +234,10 @@ private[sql] case class H2Dialect() extends JdbcDialect
with NoLegacyJDBCError {
val relationName = messageParameters.getOrElse("tableName", "")
throw new NoSuchTableException(
errorClass = "TABLE_OR_VIEW_NOT_FOUND",
- messageParameters = Map("relationName" -> relationName),
+ messageParameters = Map(
+ "relationName" -> relationName,
Review Comment:
Fair. Changed the 42102 path to fall back to `oldName` when `tableName` is
absent
https://github.com/apache/spark/pull/58225/commits/7e4262ac71f6b68adbf445e07b68b67f041b79ad
--
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]