cloud-fan commented on code in PR #49027: URL: https://github.com/apache/spark/pull/49027#discussion_r1884317771
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala: ########## @@ -958,6 +958,20 @@ case class Sort( override protected def withNewChildInternal(newChild: LogicalPlan): Sort = copy(child = newChild) } +/** + * A special Sort node whose underlying Sort would not be eliminated + * by [[org.apache.spark.sql.catalyst.optimizer.EliminateSorts]]. + */ +case class NoEliminateSort( Review Comment: I'll probably call it `Clustering`, as it's the intention of the v1 write rule: we want the data to be clustered in a certain way. -- 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]
