[AMORO-3531] Support build project with JDK 8, 11 - #3568
Conversation
| <iceberg.version>1.6.1</iceberg.version> | ||
| <paimon.version>0.9.0</paimon.version> | ||
| <hive.version>3.1.1</hive.version> | ||
| <hive.version>3.1.3</hive.version> |
| SerializationUtil.simpleDeserialize(task.getTaskInput()); | ||
| TableOptimizing.OptimizingInput input2 = | ||
| SerializationUtil.simpleDeserialize(task2.getTaskInput()); | ||
| Assertions.assertEquals(input2.toString(), input.toString()); |
There was a problem hiding this comment.
Make changes here because RewriteFilesInput is not equals after serialized via JDK9+. The MixedTable can not keep idential bytes
|
I find There are two threads insert the same table runtime record:
The error logs see: https://github.com/apache/amoro/actions/runs/15165798529/job/42643175684?pr=3568#step:5:27267 |
|
how to specify jdk version when user compile? |
|
klion26
left a comment
There was a problem hiding this comment.
Thanks for the contribution! This can push we forward to support higher version of iceberg.
left some comments inline, please take a look when you're free.
…ved compatibility
* Update CI configuration to support JDK 8, 11, and 17 * Update CI configuration to use actions/setup-java@v4 and actions/checkout@master * Update CI configuration to use JDK setup and Maven versions for improved compatibility * Revert CI configuration with comments * Update hive.version to 3.1.3 in pom.xml for compatibility * add extra java args * Replace './mvnw' with 'mvn' * revert * Refactor assertions to compare task ID only * Update pom.xml to enhance Java arguments for testing * remove jdk 17 * exclude slf4j-log4j12 confilct * Refactor CI configuration to simplify JDK setup and remove unnecessary parameters * Add Java version profile * remove * fix trino compile (cherry picked from commit b3f11aa)
* Update CI configuration to support JDK 8, 11, and 17 * Update CI configuration to use actions/setup-java@v4 and actions/checkout@master * Update CI configuration to use JDK setup and Maven versions for improved compatibility * Revert CI configuration with comments * Update hive.version to 3.1.3 in pom.xml for compatibility * add extra java args * Replace './mvnw' with 'mvn' * revert * Refactor assertions to compare task ID only * Update pom.xml to enhance Java arguments for testing * remove jdk 17 * exclude slf4j-log4j12 confilct * Refactor CI configuration to simplify JDK setup and remove unnecessary parameters * Add Java version profile * remove * fix trino compile (cherry picked from commit b3f11aa)
Why are the changes needed?
Close #3531.
Brief change log
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation