You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge Leitão (Jira)" <ji...@apache.org> on 2021/02/16 04:55:00 UTC
[jira] [Resolved] (ARROW-11616) [Rust][DataFusion] Expose
collect_partitioned for DataFrame
[ https://issues.apache.org/jira/browse/ARROW-11616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jorge Leitão resolved ARROW-11616.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 9485
[https://github.com/apache/arrow/pull/9485]
> [Rust][DataFusion] Expose collect_partitioned for DataFrame
> -----------------------------------------------------------
>
> Key: ARROW-11616
> URL: https://issues.apache.org/jira/browse/ARROW-11616
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust - DataFusion
> Reporter: Mike Seddon
> Assignee: Mike Seddon
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The DataFrame API has a `collect` method which invokes the `collect(plan: Arc<dyn ExecutionPlan>) -> Result<Vec<RecordBatch>>` function which will collect records into a single vector of RecordBatches removing the partitioning via `MergeExec`.
> The DataFrame should also expose the `collect_partitioned` method so that partitions can be maintained.
> ```
> collect_partitioned(
> plan: Arc<dyn ExecutionPlan>,
> ) -> Result<Vec<Vec<RecordBatch>>>
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)