You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2018/12/29 00:11:11 UTC

[GitHub] twdsilva opened a new pull request #23400: [SPARK-26499] [SQL] JdbcUtils.getCatalystType maps TINYINT to IntegerType instead of Byte…

twdsilva opened a new pull request #23400: [SPARK-26499] [SQL] JdbcUtils.getCatalystType maps TINYINT to IntegerType instead of Byte…
URL: https://github.com/apache/spark/pull/23400
 
 
   …Type
   
   ## What changes were proposed in this pull request?
   Modifed JdbcUtils.makeGetter to handle ByteType. Modified JdbcUtils.getCatalystType to map TINYINT to ByteType so that it is consistent with JdbcUtils.getCommonJDBCType 
   
   
   ## How was this patch tested?
   
   The existing "H2 integral types" test in JDBCSuite was modified to read a column value of type TINYINT as a byte instead of int.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org