LiJie20190102 commented on code in PR #10378:
URL: https://github.com/apache/seatunnel/pull/10378#discussion_r2719587557


##########
seatunnel-connectors-v2/connector-file/connector-file-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/source/reader/ParquetReadStrategy.java:
##########
@@ -140,7 +138,8 @@ public void read(FileSourceSplit split, 
Collector<SeaTunnelRow> output)
                     fields = new Object[fieldsCount];
                 }
                 for (int i = 0; i < fieldsCount; i++) {
-                    Object data = record.get(indexes[i]);

Review Comment:
   Great, if schema changes are involved, using indexes may indeed cause issues



-- 
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]

Reply via email to