Skip to content

Conversation

gatorsmile
Copy link
Member

What changes were proposed in this pull request?

We should not silently ignore DISTINCT when they are not supported in the function arguments. This PR is to block these cases and issue the error messages.

How was this patch tested?

Added test cases for both regular functions and window functions

@SparkQA
Copy link

SparkQA commented Jun 18, 2017

Test build #78220 has finished for PR 18340 at commit 350852d.

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

@dongjoon-hyun
Copy link
Member

+1, LGTM.

@gatorsmile
Copy link
Member Author

cc @cloud-fan

asfgit pushed a commit that referenced this pull request Jun 19, 2017
… be silently ignored

### What changes were proposed in this pull request?
We should not silently ignore `DISTINCT` when they are not supported in the function arguments. This PR is to block these cases and issue the error messages.

### How was this patch tested?
Added test cases for both regular functions and window functions

Author: Xiao Li <[email protected]>

Closes #18340 from gatorsmile/firstCount.

(cherry picked from commit 9413b84)
Signed-off-by: Wenchen Fan <[email protected]>
@cloud-fan
Copy link
Contributor

LGTM, merging to master/2.2

@asfgit asfgit closed this in 9413b84 Jun 19, 2017
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.

4 participants