Github user gatorsmile commented on the pull request: https://github.com/apache/spark/pull/11050#issuecomment-179528336 I guess the PR you mentioned is https://github.com/apache/spark/pull/8231 I think we should disallow users to accidentally use the internally generated names. Thus, adding the following test case to verify if the fix works well. ``` errorTest( "unresolved attributes with a generated name", testRelation2.groupBy('a)(max('b)) .where(sum('b) > 0) .orderBy('havingCondition.asc), "cannot resolve" :: "havingCondition" :: Nil) ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org