Using the Struct type as the primary key in equalDelete operation will cause data reading errors. #11611
Open
1 of 3 tasks
Labels
bug
Something isn't working
Apache Iceberg version
1.5.2
Query engine
Other
Please describe the bug 🐞
1. Steps to reproduce the bug:
2. Reason
3. Solution
From a personal perspective, changing the copy of GenericRecord from shallow copy to deep copy can solve this bug. This requires adjusting the code of org.apache.iceberg.data.GenericRecord#GenericRecord(GenericRecord toCopy).
Besides, I have verified the feasibility and correctness of this solution locally.
4. Other notes
If the bug is caused by the insufficiency of my demo case, or if the problem has been fixed in the new iceberg version, I hope readers or community workers can tell me. Thank you very much.
Willingness to contribute
The text was updated successfully, but these errors were encountered: