XiaoHongbo-Hope commented on code in PR #7014:
URL: https://github.com/apache/paimon/pull/7014#discussion_r2697999265


##########
paimon-python/pypaimon/read/split_read.py:
##########
@@ -496,18 +520,6 @@ def _create_union_reader(self, need_merge_files: 
List[DataFileMeta]) -> RecordRe
         # Split field bunches
         fields_files = self._split_field_bunches(need_merge_files)
 
-        # Validate row counts and first row IDs
-        row_count = fields_files[0].row_count()
-        first_row_id = fields_files[0].files()[0].first_row_id
-
-        for bunch in fields_files:
-            if bunch.row_count() != row_count:
-                raise ValueError("All files in a field merge split should have 
the same row count.")
-            if bunch.files()[0].first_row_id != first_row_id:
-                raise ValueError(
-                    "All files in a field merge split should have the same 
first row id and could not be null."
-                )
-

Review Comment:
   why remove this? 



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