yaooqinn commented on PR #45588:
URL: https://github.com/apache/spark/pull/45588#issuecomment-2008601011

   Thank you @dongjoon-hyun 
   
   For the case that users read/write things in a roundtrip:
   - Before, we read a smallint(db) as int(spark) in getCatalytType, and then 
we write an IntegerType(spark) to smallint(db) in getJDBCType 
   - After, we read a smallint(db) as short(spark) in getCatalytType, and then 
we write an ShortType(spark) to smallint(db) in getJDBCType 
   
   I'm not sure the existing behavior works well but seems a bug to me, and we 
don't have test cases for that


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