mustafasrepo commented on issue #9895:
URL:
https://github.com/apache/arrow-datafusion/issues/9895#issuecomment-2029762733
I think, changing implementation below
```
fn with_new_children(
self: Arc<Self>,
children: Vec<Arc<dyn ExecutionPlan>>,
) -> DataFusionResult<Arc<dyn ExecutionPlan>> {
ExecutionPlan::with_new_children(self.parquet_scan.clone(), children)
}
```
to something like
```
fn with_new_children(
self: Arc<Self>,
children: Vec<Arc<dyn ExecutionPlan>>,
) -> Result<Arc<dyn ExecutionPlan>> {
// Make sure to received single child
// It should be updated new parquet_scan.
assert_eq!(children.len(), 1);
Arc::new(DeltaScan {
table_uri: self.table_uri.clone(),
config: self.config.clone(),
parquet_scan: children[0].clone(),
logical_schema: self.logical_schema.clone(),
})
// ExecutionPlan::with_new_children(self.parquet_scan.clone(),
children)
}
```
might solve the problem (Just brainstorming, I didn't try it). I am not
sure, what `ExecutionPlan::with_new_children(self.parquet_scan.clone(),
children)` does. However, this line might be the root cause of the problem.
--
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]