Guosmilesmile commented on code in PR #15776:
URL: https://github.com/apache/iceberg/pull/15776#discussion_r3154625801
##########
orc/src/main/java/org/apache/iceberg/data/orc/GenericOrcReaders.java:
##########
@@ -56,11 +57,25 @@ public class GenericOrcReaders {
private GenericOrcReaders() {}
+ /**
+ * @deprecated Use {@link #struct(TypeDescription, List, Types.StructType,
Map)} instead. This
+ * method uses position-based binding which may cause field misalignment
in MOR and lineage
+ * scenarios.
+ */
Review Comment:
Initially, I was reading by position based on the original approach, but it
failed in Spark's TestMergeOnReadWithLineage while TestCopyOnWriteWithLineage
passed correctly. That's why the MOR distinction came up.
--
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]