gengliangwang commented on code in PR #43232:
URL: https://github.com/apache/spark/pull/43232#discussion_r1348124072
##########
sql/core/src/main/scala/org/apache/spark/sql/jdbc/MsSqlServerDialect.scala:
##########
@@ -109,7 +109,7 @@ private object MsSqlServerDialect extends JdbcDialect {
None
} else {
sqlType match {
- case java.sql.Types.SMALLINT => Some(ShortType)
+ case java.sql.Types.SMALLINT | java.sql.Types.TINYINT =>
Some(ShortType)
Review Comment:
Also, in JDBC, is it required to be Symmetrical for `getCatalystType` and
`getJDBCType`?
--
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]