yaooqinn commented on code in PR #45734:
URL: https://github.com/apache/spark/pull/45734#discussion_r1540498754
##########
connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MySQLIntegrationSuite.scala:
##########
@@ -150,13 +151,25 @@ class MySQLIntegrationSuite extends
DockerJDBCIntegrationSuite {
assert(rows.get(4).isInstanceOf[BigDecimal])
assert(rows.get(5).isInstanceOf[BigDecimal])
assert(rows.get(6).isInstanceOf[Double])
+ // Unlike MySQL, MariaDB seems not to distinguish signed and unsigned
tinyint(1).
+ val isMaria = jdbcUrl.indexOf("disableMariaDbDriver") == -1
Review Comment:
This illustrates a deviation between MariaDB and MySQL Connector/J. It‘s not
caused by removing codes in this PR.
--
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]