Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

It's illegal to have aggregate function in GROUP BY, and we should fail at analysis phase, if this happens.

How was this patch tested?

new regression test

@cloud-fan
Copy link
Contributor Author

cc @gatorsmile

@SparkQA
Copy link

SparkQA commented Apr 20, 2017

Test build #75985 has finished for PR 17704 at commit 87619eb.

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

@hvanhovell
Copy link
Contributor

LGTM - merging to master/branch-2.2

asfgit pushed a commit that referenced this pull request Apr 20, 2017
## What changes were proposed in this pull request?

It's illegal to have aggregate function in GROUP BY, and we should fail at analysis phase, if this happens.

## How was this patch tested?

new regression test

Author: Wenchen Fan <[email protected]>

Closes #17704 from cloud-fan/minor.

(cherry picked from commit b91873d)
Signed-off-by: Herman van Hovell <[email protected]>
@asfgit asfgit closed this in b91873d Apr 20, 2017
asfgit pushed a commit that referenced this pull request Apr 20, 2017
## What changes were proposed in this pull request?

It's illegal to have aggregate function in GROUP BY, and we should fail at analysis phase, if this happens.

## How was this patch tested?

new regression test

Author: Wenchen Fan <[email protected]>

Closes #17704 from cloud-fan/minor.
@hvanhovell
Copy link
Contributor

Also cherry picked this into 2.1

peter-toth pushed a commit to peter-toth/spark that referenced this pull request Oct 6, 2018
## What changes were proposed in this pull request?

It's illegal to have aggregate function in GROUP BY, and we should fail at analysis phase, if this happens.

## How was this patch tested?

new regression test

Author: Wenchen Fan <[email protected]>

Closes apache#17704 from cloud-fan/minor.
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