maropu commented on a change in pull request #31491:
URL: https://github.com/apache/spark/pull/31491#discussion_r573701737
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala
##########
@@ -1781,4 +1783,28 @@ class JDBCSuite extends QueryTest
assert(options.asProperties.get("url") == url)
assert(options.asProperties.get("dbtable") == "table3")
}
+
+ test("SPARK-34379: Map JDBC RowID to StringType rather than LongType") {
+ val mockRsmd = mock(classOf[java.sql.ResultSetMetaData])
Review comment:
h2 database cannot generate rowid-typed data?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]