Github user jiangxb1987 commented on a diff in the pull request:
    --- Diff: 
    @@ -58,9 +58,9 @@ class AggregateOptimizeSuite extends PlanTest {
       test("Remove aliased literals") {
    -    val query ='a, Literal(1).as('y)).groupBy('a, 
    +    val query ='a, 'b, Literal(1).as('y)).groupBy('a, 
         val optimized = Optimize.execute(analyzer.execute(query))
    -    val correctAnswer ='a, 
    +    val correctAnswer ='a, 'b, 
    --- End diff --
    Previous sql don't have `b` in projectList so `sum('b)` can't get its 

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to