Skip to content

[SPARK-47298][BUILD] Upgrade mysql-connector-j to 8.3.0 and mariadb-java-client to 2.7.12#45399

Closed
panbingkun wants to merge 1 commit intoapache:masterfrom
panbingkun:SPARK-47298
Closed

[SPARK-47298][BUILD] Upgrade mysql-connector-j to 8.3.0 and mariadb-java-client to 2.7.12#45399
panbingkun wants to merge 1 commit intoapache:masterfrom
panbingkun:SPARK-47298

Conversation

@panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Mar 6, 2024

What changes were proposed in this pull request?

The pr aims to:

  • upgrade mysql-connector-j from 8.2.0 to 8.3.0.
  • upgrade mariadb-java-client from 2.7.11 to 2.7.12.

Why are the changes needed?

Routine upgrade.

  • com.mysql:mysql-connector-j, release notes:
    https://dev.mysql.com/doc/relnotes/connector-j/en/news-8-3-0.html
    Bugs Fixed, eg:
    1.Setting a very large value for query timeout caused an IllegalArgumentException when a query was executed. It was due to an integer overflow, which is now avoided by changing the timeout value's data type from Integer to Long. (Bug #112884, Bug #36043166)
    2.Calling PreparedStatement.executeUpdate() on a query that was only a comment caused a SQLException to be thrown, with the complaint that executeUpdate() "cannot issue statements that produce result sets." It was because the check on whether the query would produce results sets was faulty, and it has now been fixed. (Bug #109546, Bug #34958912)

  • org.mariadb.jdbc:mariadb-java-client, release notes:
    https://mariadb.com/kb/en/mariadb-connector-j-2-7-12-release-notes/
    Bugs Fixed, eg:
    CONJ-1145 Wrong sequence number of sub header with compressing procotol active
    CONJ-1151 Wrong debug trace when using compression protocol
    CONJ-1152 Improve message when reaching socket timeout during connection initial commands

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass GA.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label Mar 6, 2024
@panbingkun panbingkun changed the title [WIP][SPARK-47298][BUILD] Upgrade mysql-connector-j to 8.3.0 and mariadb-java-client to 2.7.12 [SPARK-47298][BUILD] Upgrade mysql-connector-j to 8.3.0 and mariadb-java-client to 2.7.12 Mar 6, 2024
@panbingkun panbingkun marked this pull request as ready for review March 7, 2024 00:31
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM.

@yaooqinn yaooqinn closed this in 620297a Mar 7, 2024
@yaooqinn
Copy link
Member

yaooqinn commented Mar 7, 2024

Merged to master.

Thank you @panbingkun @dongjoon-hyun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants