You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/22 17:05:35 UTC

[GitHub] [arrow] andygrove commented on a change in pull request #8982: ARROW-10582: [Rust] [DataFusion] Implement "repartition" operator [WIP]

andygrove commented on a change in pull request #8982:
URL: https://github.com/apache/arrow/pull/8982#discussion_r547393470



##########
File path: rust/datafusion/src/physical_plan/mod.rs
##########
@@ -107,6 +107,13 @@ pub async fn collect(plan: Arc<dyn ExecutionPlan>) -> Result<Vec<RecordBatch>> {
 /// Partitioning schemes supported by operators.
 #[derive(Debug, Clone)]
 pub enum Partitioning {
+    /// Allocate batches using a round-robin algorithm
+    RoundRobinBatch(usize),
+    /// Allocate rows using a round-robin algorithm. This provides finer-grained partitioning
+    /// than `RoundRobinBatch` but also has much more overhead.
+    RoundRobinRow(usize),

Review comment:
       Thanks. That makes sense and I have removed `RoundRobinRow` now.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org