JingsongLi commented on code in PR #224:
URL: https://github.com/apache/paimon-rust/pull/224#discussion_r3044109626
##########
crates/integrations/datafusion/src/physical_plan/scan.rs:
##########
@@ -124,6 +357,35 @@ impl ExecutionPlan for PaimonTableScan {
Ok(self)
}
+ fn with_fetch(&self, fetch: Option<usize>) -> Option<Arc<dyn
ExecutionPlan>> {
+ if self.scan_fetch_mode != ScanFetchMode::Exact {
+ return None;
+ }
+
+ let fetch = fetch.filter(|fetch| *fetch > 0);
Review Comment:
Why filter fetch > 0 here?
--
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]