andygrove commented on code in PR #3208:
URL: https://github.com/apache/arrow-datafusion/pull/3208#discussion_r950409603
##########
datafusion/expr/src/logical_plan/plan.rs:
##########
@@ -1390,8 +1399,9 @@ pub enum Partitioning {
RoundRobinBatch(usize),
/// Allocate rows based on a hash of one of more expressions and the
specified number
/// of partitions.
- /// This partitioning scheme is not yet fully supported. See
<https://issues.apache.org/jira/browse/ARROW-11011>
Hash(Vec<Expr>, usize),
+ /// The DISTRIBUTE BY clause is used to repartition the data based on the
input expressions
+ DistributeBy(Vec<Expr>),
Review Comment:
Another option here would be to re-use `Hash` and make the number of
partitions an `Option<usize>`.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]