QuakeWang commented on code in PR #208:
URL: https://github.com/apache/paimon-rust/pull/208#discussion_r3036922456
##########
crates/integrations/datafusion/src/physical_plan/scan.rs:
##########
@@ -145,9 +163,31 @@ impl ExecutionPlan for PaimonTableScan {
))
};
+ let stream = futures::stream::once(fut).try_flatten();
+
+ // Enforce the final LIMIT at the DataFusion execution layer.
+ let limited_stream: Pin<Box<dyn Stream<Item = DFResult<RecordBatch>> +
Send>> =
Review Comment:
Sorry. This was reintroduced during the upstream merge by mistake 😅. I
removed the extra limit enforcement in execute() and kept limit only as a
planning hint.
--
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]