chenghuichen commented on code in PR #6068:
URL: https://github.com/apache/paimon/pull/6068#discussion_r2271928661
##########
paimon-python/pypaimon/read/table_scan.py:
##########
@@ -83,6 +88,19 @@ def plan(self) -> Plan:
return Plan(splits)
+ def with_shard(self, idx_of_this_subtask, number_of_para_subtasks) ->
'TableScan':
+ self.idx_of_this_subtask = idx_of_this_subtask
+ self.number_of_para_subtasks = number_of_para_subtasks
+ return self
+
+ def shard_filter(self, entry: Optional[ManifestEntry]) -> bool:
Review Comment:
This looks like an internal utility function. Let's prefix it with an
underscore (_) to indicate it's private.
--
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]