mustafasrepo commented on issue #10018:
URL:
https://github.com/apache/arrow-datafusion/issues/10018#issuecomment-2055657487
I think returning `Cow<PlanProperties>` makes sense. In this way, struct
won't need to implement a new member as you indicated. We might need to update
methods of the below
```
impl ExecutionPlanProperties for Arc<dyn ExecutionPlan> {
fn output_partitioning(&self) -> &Partitioning {
self.properties().output_partitioning()
}
fn execution_mode(&self) -> ExecutionMode {
self.properties().execution_mode()
}
fn output_ordering(&self) -> Option<&[PhysicalSortExpr]> {
self.properties().output_ordering()
}
fn equivalence_properties(&self) -> &EquivalenceProperties {
self.properties().equivalence_properties()
}
}
```
to work with `Cow<PlanProperties>` though.
--
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]