XiaoHongbo-Hope commented on code in PR #7745:
URL: https://github.com/apache/paimon/pull/7745#discussion_r3274696047
##########
paimon-python/pypaimon/read/split_read.py:
##########
@@ -578,7 +585,101 @@ def section_reader_supplier(self, section:
List[SortedRun]) -> RecordReader:
supplier = partial(self.kv_reader_supplier, file,
self.deletion_file_readers.get(file.file_name, None))
data_readers.append(supplier)
readers.append(ConcatRecordReader(data_readers))
- return SortMergeReaderWithMinHeap(readers, self.table.table_schema)
+ merge_function = self._build_merge_function()
Review Comment:
This fixes merge-engine dispatch for MergeFileSplitRead, but partial-update
semantics can still be bypassed when the split is raw_convertible. A
same-commit multi-write case still returns duplicate unmerged rows.
--
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]