Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL: Support CASE-style filtered count distinct. #5047

Merged
merged 1 commit into from
Nov 14, 2017

Conversation

gianm
Copy link
Contributor

@gianm gianm commented Nov 6, 2017

i.e., aggregations like COUNT(DISTINCT CASE WHEN x THEN y END). This
patch also changes complex columns to report as nullable, which
is required for them to type-check properly when used in these kinds
of filtered aggregations.

i.e., aggregations like COUNT(DISTINCT CASE WHEN x THEN y END). This
patch also changes complex columns to report as nullable, which
is required for them to type-check properly when used in these kinds
of filtered aggregations.
@fjy fjy merged commit 6c0c858 into apache:master Nov 14, 2017
@jon-wei jon-wei added this to the 0.12.0 milestone Jan 5, 2018
@gianm gianm deleted the sql-case-cd-filter branch September 23, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants