sarutak commented on a change in pull request #31262:
URL: https://github.com/apache/spark/pull/31262#discussion_r561098714



##########
File path: 
external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
##########
@@ -181,7 +181,7 @@ class PostgresIntegrationSuite extends 
DockerJDBCIntegrationSuite {
     val rows = dfRead.collect()
     val types = rows(0).toSeq.map(x => x.getClass.toString)
     assert(types(1).equals("class java.sql.Timestamp"))
-    assert(types(2).equals("class java.sql.Timestamp"))
+    assert(types(2).equals("class java.lang.Integer"))

Review comment:
       As of #30902, JDBC `TIME` type seems to be mapped to Catalyst 
`IntegerType`.
   
https://github.com/apache/spark/pull/30902/files#diff-c3859e97335ead4b131263565c987d877bea0af3adbd6c5bf2d3716768d2e083R230




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

Reply via email to