mgaido91 opened a new pull request #23285: [SPARK-26224][SQL] Avoid creating many project on subsequent calls to withColumn URL: https://github.com/apache/spark/pull/23285 ## What changes were proposed in this pull request? We have seen many cases when users make several subsequent calls to `withColumn` on a Dataset. This leads now to the generation of a lott of `Project` nodes on the top of the plan, with serious problem which can lead also to `StackOverflowException`s. The PR proposes to run `CollapseProject` on the result of `withColumn` so that subsequent call (if possible) generate anyway a plan with a single project node on the top. ## How was this patch tested? added UT
---------------------------------------------------------------- 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]
