cloud-fan commented on PR #39754: URL: https://github.com/apache/spark/pull/39754#issuecomment-2597445582
I'm thinking about this again but still not comfortable with this `ScopedExpression` approach, given it relies on rule execution order. I have a new idea: how about we add a special annotation to the columns produced by `groupByKey`? It can be a special key in `AttributeRefererence#metadata`, and column resolution will skip it when resolving column names. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org