beliefer commented on a change in pull request #35013:
URL: https://github.com/apache/spark/pull/35013#discussion_r775854248



##########
File path: sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala
##########
@@ -732,15 +732,13 @@ class JDBCSuite extends QueryTest
   test("Pass extra properties via OPTIONS") {
     // We set rowId to false during setup, which means that _ROWID_ column 
should be absent from
     // all tables. If rowId is true (default), the query below doesn't throw 
an exception.
-    intercept[JdbcSQLException] {

Review comment:
       H2 older version will throws:
   ```
   org.h2.jdbc.JdbcSQLException: Column "_ROWID_" not found; SQL statement:
   CREATE FORCE VIEW PUBLIC._0 AS
   SELECT
       _ROWID_
   FROM TEST.PEOPLE [42122-195]
   ```
   But, it OK in newer version.




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