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



##########
File path: sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala
##########
@@ -662,7 +670,7 @@ class JDBCSuite extends QueryTest
     assert(cal.get(Calendar.MINUTE) === 22)
     assert(cal.get(Calendar.SECOND) === 33)
     assert(cal.get(Calendar.MILLISECOND) === 543)
-    assert(rows(0).getAs[java.sql.Timestamp](2).getNanos === 543543000)
+    assert(rows(0).getAs[java.sql.Timestamp](2).getNanos === 543544000)

Review comment:
       According to my investigation. The default precision of timestamp is 7 
in old H2, but is 6 in new H2.




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