-
Notifications
You must be signed in to change notification settings - Fork 369
[AMORO-3531] Support build project with JDK 8, 11 #3568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refer to #3532 (comment)
| SerializationUtil.simpleDeserialize(task.getTaskInput()); | ||
| TableOptimizing.OptimizingInput input2 = | ||
| SerializationUtil.simpleDeserialize(task2.getTaskInput()); | ||
| Assertions.assertEquals(input2.toString(), input.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
klion26
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work, LGTM
* 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