Skip to content

Commit

Permalink
[SPARK-39960][BUILD] Upgrade mysql-connector-java to 8.0.30
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Upgrade mysql-connector-java from 8.0.29 to 8.0.30

### Why are the changes needed?
This version brings some bugs fixes, the release note as follows:
https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-30.html
Bugs Fixed, eg:
> Historically, MySQL Server has used utf8 as an alias for utf8mb3. Since release 8.0.29, utf8mb3 has become a recognized (though deprecated) character set on its own for MySQL Server and to make things consistent, in release 8.0.30, any collations prefixed with utf8_ are now prefixed with utf8mb3_ instead. To go with that change, Connector/J has updated its character set and collation mapping accordingly in this release, and users are encouraged to update to Connector/J 8.0.30 to avoid potential issues when working with MySQL Server 8.0.30 or later. (Bug #34090350)

> The description for the connection property rewriteBatchedStatements has been corrected, removing the limitation that server-sided prepared statements could not take advantage of the rewrite option. (Bug #34022110)

> DatabaseMetaData.getTypeInfo always returned false for AUTO_INCREMENT for all data types. With this fix, Connector/J returns the correct value for each data type. Also, the missing types DOUBLE UNSIGNED and DOUBLE PRECISION UNSIGNED have been added to the ResultSet. (Bug #106758, Bug #33973048)

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Pass GA.

Closes apache#37387 from panbingkun/upgrade_mysql_connector.

Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Kent Yao <yao@apache.org>
  • Loading branch information
panbingkun authored and yaooqinn committed Aug 3, 2022
1 parent 31ab8bc commit a6bed4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.29</version>
<version>8.0.30</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit a6bed4c

Please sign in to comment.