JingsongLi commented on code in PR #6124:
URL: https://github.com/apache/paimon/pull/6124#discussion_r2295017766


##########
paimon-core/src/main/java/org/apache/paimon/table/system/CompactBucketsTable.java:
##########
@@ -260,6 +261,19 @@ public RecordReader<InternalRow> createReader(Split split) 
throws IOException {
             }
 
             DataSplit dataSplit = (DataSplit) split;
+            // in case of schema evolution
+            for (DataFileMeta file : dataSplit.dataFiles()) {
+                System.out.println(
+                        "File schema id " + file.schemaId() + ", base schema 
id " + baseSchemaId);
+                if (file.schemaId() > baseSchemaId) {
+                    throw new RuntimeException(

Review Comment:
   Just failover? Will writer use new schema to write?



-- 
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: issues-unsubscr...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to