shivsood commented on issue #27172: [WIP] [SPARK-29644][SQL] Fixed ByteType JDBCUtils to map to TinyInt at write read and ShortType on read URL: https://github.com/apache/spark/pull/27172#issuecomment-573255718 > what is the theory about compatibility? Yes this will introduce a diffirent behaviour. The write path was broken for ByteType, so that's a positive change in behaviour. This fixes it. On the other side, reading a SQL table with a TINYINT will get create column as ShortType rather than Integer. This is a not compatibility change. Should the feature be under a build time flag?
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org