jizezhang commented on code in PR #19002:
URL: https://github.com/apache/datafusion/pull/19002#discussion_r2575515165
##########
datafusion/core/tests/custom_sources_cases/provider_filter_pushdown.rs:
##########
@@ -134,9 +134,19 @@ impl ExecutionPlan for CustomPlan {
_partition: usize,
_context: Arc<TaskContext>,
) -> Result<SendableRecordBatchStream> {
+ let schema_captured = self.schema().clone();
Ok(Box::pin(RecordBatchStreamAdapter::new(
self.schema(),
- futures::stream::iter(self.batches.clone().into_iter().map(Ok)),
+ futures::stream::iter(self.batches.clone().into_iter().map(move
|batch| {
Review Comment:
Please see
https://github.com/apache/datafusion/issues/18782#issuecomment-3568216125 for
my thoughts/reason on updating this test.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]