wzhero1 commented on code in PR #6858:
URL: https://github.com/apache/paimon/pull/6858#discussion_r2652129597


##########
paimon-core/src/main/java/org/apache/paimon/table/source/splitread/IncrementalDiffSplitRead.java:
##########
@@ -76,6 +80,17 @@ public SplitRead<InternalRow> withIOManager(@Nullable 
IOManager ioManager) {
     @Override
     public SplitRead<InternalRow> withReadType(RowType readType) {
         this.readType = readType;
+
+        List<DataField> fieldsWithAllSchema = new ArrayList<>();
+        for (DataField field : readType.getFields()) {
+            if (SpecialFields.isSystemField(field.name())) {
+                fieldsWithAllSchema.add(field);
+            }
+        }
+        fieldsWithAllSchema.addAll(mergeRead.tableSchema().fields());

Review Comment:
   changed to `schemaAlignedFields`



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