shivsood commented on issue #26549: [SPARK-29644][SQL][2.4] Corrected ShortType 
and ByteType mapping to SmallInt and TinyInt in JDBCUtils
URL: https://github.com/apache/spark/pull/26549#issuecomment-554565007
 
 
   > Can you update the description above?
   Yes,
   
   >Anyway, IMO this is not a serious bug fix, so it might be less worth 
correcting it in this branch.
   @maropu Originally i found the issue when validating on spark 2.4. I think 
its important. AFIAK without this fix, i was not able to overwrite tables in 
SQL server if the dataframe had a ByteType column. This was because Spark sent 
a JDBC create command using "BYTE" which is not a know JDBC type. The fixes in 
jdbcutils.scala now fix this.
   
   
   

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