You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/09/26 20:28:00 UTC

[jira] [Resolved] (ARROW-9839) [Rust] [DataFusion] Add ability to downcast ExecutionPlan to specific operator

     [ https://issues.apache.org/jira/browse/ARROW-9839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Grove resolved ARROW-9839.
-------------------------------
    Resolution: Fixed

Issue resolved by pull request 8284
[https://github.com/apache/arrow/pull/8284]

> [Rust] [DataFusion] Add ability to downcast ExecutionPlan to specific operator
> ------------------------------------------------------------------------------
>
>                 Key: ARROW-9839
>                 URL: https://issues.apache.org/jira/browse/ARROW-9839
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust, Rust - DataFusion
>            Reporter: Andy Grove
>            Assignee: Andy Grove
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)