dongjoon-hyun opened a new pull request, #60065: URL: https://github.com/apache/spark/pull/60065
### What changes were proposed in this pull request? This PR aims to upgrade `Apache Derby` from `10.16.1.1` to `10.17.1.0` for Apache Spark 5.0.0. - https://db.apache.org/derby/releases/release-10_17_1_0.cgi (2023-11-10) ### Why are the changes needed? Since Apache Spark 5.0.0 requires Java 21 or later (SPARK-60669), we can use `Derby 10.17.x`, which supports only Java 21 and later. Previously, we stayed on `Derby 10.16.1.1` because `10.17.1.0` requires Java 21+. `Derby 10.17.1.0` brings the following fixes. - [DERBY-7143](https://issues.apache.org/jira/browse/DERBY-7143) HarmonySerialBlob.getBinaryStream(long, long) makes it impossible to retrieve the last character of the Blob - [DERBY-7144](https://issues.apache.org/jira/browse/DERBY-7144) MERGE INSERT failing when target has GENERATED IDENTITY column - [DERBY-7147](https://issues.apache.org/jira/browse/DERBY-7147) LDAP injection vulnerability in LDAPAuthenticationImpl (CVE-2022-46337) - [DERBY-7149](https://issues.apache.org/jira/browse/DERBY-7149) Make it possible to build and test Derby cleanly with JDK 20 In addition, `10.17.1.0` is the final release of Apache Derby because the Derby developers voted to retire the project on 2025-10-10. ### Does this PR introduce _any_ user-facing change? No behavior change is expected. Only the bundled Derby jars (`derby`, `derbyshared`, `derbytools`) are upgraded. ### How was this patch tested? Pass the CIs. In addition, I manually ran the test suites that use Derby on Java 21. ``` $ build/sbt -Phive -Phive-thriftserver \ "core/testOnly *JdbcRDDSuite" \ "sql/testOnly *DerbyTableCatalogSuite *JDBCSuite" \ "hive/testOnly *HiveSharedStateSuite *HiveExternalCatalogSuite" \ "hive-thriftserver/testOnly *SparkSQLEnvSuite *CliSuite" ``` ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 -- 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]
