discivigour commented on code in PR #8488:
URL: https://github.com/apache/paimon/pull/8488#discussion_r3534249668
##########
paimon-python/pypaimon/read/reader/blob_descriptor_convert_reader.py:
##########
@@ -187,6 +189,39 @@ def _resolve_descriptor_fields(self, batch):
pyarrow.field(field_name, pyarrow.large_binary(),
nullable=True),
pyarrow.array(converted_values, type=pyarrow.large_binary()),
)
+
+ view_file_ios = view_file_ios or {}
+ for field_name in self._view_fields:
+ field_file_ios = view_file_ios.get(field_name)
+ if field_name not in batch.schema.names or field_file_ios is None:
+ continue
+ values = [self._normalize_blob_to_bytes(v) for v in
batch.column(field_name).to_pylist()]
+ blobs_by_file_io = {}
+ converted_values = []
+
+ for idx, value in enumerate(values):
+ file_io = field_file_ios[idx] or self._table.file_io
+ blob = Blob.from_bytes(value, file_io)
Review Comment:
I have resolved this problem in another pr #8489
--
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]