lilei1128 commented on code in PR #10415:
URL: https://github.com/apache/paimon/pull/10415#discussion_r4280025694


##########
paimon-core/src/main/java/org/apache/paimon/operation/DataEvolutionSplitRead.java:
##########
@@ -767,6 +763,27 @@ private FileRecordReader<InternalRow> createFileReader(
             }
         }
 
+        FileReadTarget readTarget =
+                readTarget(file, dataFilePathFactory, rowRanges, 
fileIndexResult);
+        String formatIdentifier = readTarget.formatIdentifier;
+        boolean readRowSidecar = ROW_SIDECAR_FORMAT.equals(formatIdentifier);
+        Builder targetFormatBuilder =
+                readRowSidecar
+                        ? rowSidecarFormatBuilder(readRowType, fileFilters, 
nestedFieldEnabled)
+                        : formatBuilder(readRowType, fileFilters, 
nestedFieldEnabled);
+        TableSchema readerDataSchema = readRowSidecar ? physicalDataSchema : 
fileSchema;

Review Comment:
   Confirmed, and repaired. Please help check it again.



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