CatOrLeader opened a new pull request, #3797:
URL: https://github.com/apache/amoro/pull/3797
implement automatic replacement of UUID type columns with the FixedType[16]
<!--
Thanks for sending a pull request!
Here are some tips for you:
1. If this is your first time, please read our contributor guidelines:
https://amoro.apache.org/how-to-contribute/
2. If the PR is related to an issue in
https://github.com/apache/amoro/issues, add '[AMORO-XXXX]' in your PR title,
e.g., '[AMORO-XXXX] Your PR title ...'.
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g.,
'[WIP][AMORO-XXXX] Your PR title ...'.
-->
## Why are the changes needed?
<!--
Please clarify why the changes are needed. For instance,
1. If you add a feature, you can talk about its use case.
2. If you fix a bug, you can clarify why it is a bug.
3. Use Fix/Resolve/Close #{ISSUE_NUMBER} to link this PR to its related
issue
-->
There is an issue with Amoro's attempt to optimise tables in Iceberg when
using partitions or buckets based on a UUID key. These changes FIX #3796 and do
not corrupt any data
## Brief change log
<!--
Clearly describe the changes made in modules, classes, methods, etc.
-->
- Added conversion of UUID type in the Iceberg table to the FixedType[16]
- Conversion is internal only so there is no side effect on the data in the
table
## How was this patch tested?
- The patch was tested manually in the production environment of the company
I currently work in – the new. jar file of amoro-format-iceberg (with the
changes) replace the original one
- Optimisers work correctly, and table files are optimised successfully.
## Documentation
- Does this pull request introduce a new feature? No
- If yes, how is the feature documented? Not applicable
--
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]