Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rust] [DataFusion] Add ability to downcast ExecutionPlan to specific operator #25877

Closed
asfimport opened this issue Aug 23, 2020 · 1 comment

Comments

@asfimport
Copy link

Sometimes it is necessary to have operator-specific logic in a query optimizer, so we need the ability to get an Any reference to an ExecutionPlan so we can downcast it.

We do something very similar in PrimitiveArray already with an as_any method but the difference there is we can call get_type first to know exactly what type to cast to and we don't have anything like that in ExecutionPlan, but we could at least speculatively  try casting to specific operators.

Reporter: Andy Grove / @andygrove
Assignee: Andy Grove / @andygrove

PRs and other links:

Note: This issue was originally created as ARROW-9839. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Andy Grove / @andygrove:
Issue resolved by pull request 8284
#8284

@asfimport asfimport added this to the 2.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants