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 2021/04/11 16:55:00 UTC

[jira] [Updated] (ARROW-11625) [Rust] [DataFusion] Move SortExec partition check to constructor

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

Andy Grove updated ARROW-11625:
-------------------------------
    Fix Version/s:     (was: 4.0.0)

> [Rust] [DataFusion] Move SortExec partition check to constructor
> ----------------------------------------------------------------
>
>                 Key: ARROW-11625
>                 URL: https://issues.apache.org/jira/browse/ARROW-11625
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust - DataFusion
>            Reporter: Andy Grove
>            Priority: Major
>
> SortExec has the following error check at execution time and this could be moved into the try_new constructor so the error check happens at planning time instead.
>  
> {code:java}
> if 1 != self.input.output_partitioning().partition_count() {
>     return Err(DataFusionError::Internal(
>         "SortExec requires a single input partition".to_owned(),
>     ));
> } {code}



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