shivsood commented on a change in pull request #26301:  [SPARK-29644][SQL] 
Corrected ShortType and ByteType mapping to SmallInt and TinyInt in JDBCUtils 
URL: https://github.com/apache/spark/pull/26301#discussion_r365475576
 
 

 ##########
 File path: 
external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
 ##########
 @@ -59,7 +59,7 @@ class MsSqlServerIntegrationSuite extends 
DockerJDBCIntegrationSuite {
       """
         |INSERT INTO numbers VALUES (
         |0,
-        |255, 32767, 2147483647, 9223372036854775807,
+        |127, 32767, 2147483647, 9223372036854775807,
 
 Review comment:
   Raised PR https://github.com/apache/spark/pull/27172 with the proposed fix. 
ShortType is unchanged, only ByteType is fix is modified to map to ShortType on 
the read path so enable support for  0 to 255 range. 
   
   @maropu @srowen @HyukjinKwon  as FYI. Thanks
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to