Skip to content

[SPARK-13087][SQL] Fix group by function for sort based aggregation#11013

Closed
marmbrus wants to merge 1 commit into
apache:masterfrom
marmbrus:groupByFunction-master
Closed

[SPARK-13087][SQL] Fix group by function for sort based aggregation#11013
marmbrus wants to merge 1 commit into
apache:masterfrom
marmbrus:groupByFunction-master

Conversation

@marmbrus

@marmbrus marmbrus commented Feb 2, 2016

Copy link
Copy Markdown
Contributor

It is not valid to call toAttribute on a NamedExpression unless we know for sure that the child produced that NamedExpression. The current code worked fine when the grouping expressions were simple, but when they were a derived value this blew up at execution time.

@SparkQA

SparkQA commented Feb 2, 2016

Copy link
Copy Markdown

Test build #50521 has finished for PR 11013 at commit e16fabf.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yhuai

yhuai commented Feb 2, 2016

Copy link
Copy Markdown
Contributor

Thanks! Merging to master.

@asfgit asfgit closed this in 22ba213 Feb 2, 2016
@marmbrus marmbrus deleted the groupByFunction-master branch March 8, 2016 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants