dengziming commented on PR #39388: URL: https://github.com/apache/spark/pull/39388#issuecomment-1371775675
> just to confirm, the proto `RepartitionByExpression repartition_by_expression = 27` can support both > > `def repartition(self, *cols: "ColumnOrName")` `def repartitionByRange(self, *cols: "ColumnOrName")` Yes, you are right @zhengruifeng . Both `repartition(cols)` and `repartitionByRange(cols)` will be transformed to `RepartitionByExpression`, this can be seen in `Dataset.scala` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
