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


##########
paimon-python/pypaimon/read/reader/concat_batch_reader.py:
##########
@@ -176,6 +183,8 @@ def read_arrow_batch(self) -> Optional[RecordBatch]:
                 columns.append(column)
                 names.append(batches[batch_index].schema.names[field_index])
         if columns:
+            if self.schema is not None and len(columns) == len(self.schema):

Review Comment:
   > schema should be not none.
   
   Fixed



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