HeartSaVioR edited a comment on issue #23285: [SPARK-26224][SQL] Avoid creating many project on subsequent calls to withColumn URL: https://github.com/apache/spark/pull/23285#issuecomment-447225378 @mgaido91 Yeah, agreed there's a workaround (`select`), as well as it would be more ideal if we can collapse chain of withColumn properly. This is based on that it doesn't seem to achieve it, and we need to guide end users to take a workaround. End users using withColumn seem to feel more convenient than using select, then IMHO `withColumns` might become another convenient method for end users, alternative of withColumn. Sure, no strong opinion, just a 2 cents.
---------------------------------------------------------------- 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]
