subhramit commented on code in PR #58225:
URL: https://github.com/apache/spark/pull/58225#discussion_r3936638040


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/v2/jdbc/JDBCTableCatalogSuite.scala:
##########
@@ -229,6 +230,21 @@ class JDBCTableCatalogSuite extends SharedSparkSession {
     }
   }
 
+  test("SPARK-58945: H2 dialect supplies searchPath for 
TABLE_OR_VIEW_NOT_FOUND") {
+    val e = intercept[NoSuchTableException] {
+      H2Dialect().classifyException(
+        new SQLException("""Table "NOT_EXISTING_TABLE" not found""", "42S02", 
42102),
+        condition = "FAILED_JDBC.LOAD_TABLE",

Review Comment:
   I switched the test to go through `renameTable(...)` instead of 
hand-building this case



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