cloud-fan edited a comment on issue #22957: [SPARK-25951][SQL] Ignore aliases for distributions and orderings URL: https://github.com/apache/spark/pull/22957#issuecomment-459270199 by default `SparkPlan.outputPartitioning` is `UnknownPartitioning`, this is safe but is sub-optimal for some operators like `ProjectExec`. `ProjectExec.outputPartitioning` just returns `child.outputPartitioning`, which is better but still sub-optimal. If we have `a as c`, the partitioning info of column `c` is not propagated. We can do it for other operators as well.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
