XiaoHongbo-Hope commented on code in PR #8893:
URL: https://github.com/apache/paimon/pull/8893#discussion_r3667292744
##########
paimon-python/pypaimon/read/reader/format_pyarrow_reader.py:
##########
@@ -115,12 +167,15 @@ def __init__(self, file_io: FileIO, file_format: str,
file_path: str,
# Read projected VARIANT columns in bounded batches.
self._parquet_file = None
- if self._bounded_variant_read:
+ if (self._bounded_variant_read
+ or self._selected_parquet_row_groups is not None):
Review Comment:
Fixed in d29233b98. The row-group path now preserves the logical row count
when rebuilding a zero-column RecordBatch. Added regressions for both
`_ROW_ID`-only and missing-only projections; the related suite passes on the
current environment and on Python 3.6 with PyArrow 6.
--
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]