Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/19828#discussion_r154158225 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala --- @@ -839,8 +839,6 @@ case class RepartitionByExpression( require(numPartitions > 0, s"Number of partitions ($numPartitions) must be positive.") - require(partitionExpressions.nonEmpty, "At least one partition-by expression must be specified.") --- End diff -- Just for safety, also keep this change?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org