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

Emulate conditional aggregation #202

Closed
hadley opened this issue Jan 3, 2019 · 0 comments
Closed

Emulate conditional aggregation #202

hadley opened this issue Jan 3, 2019 · 0 comments
Labels
feature a feature request or enhancement func trans 🌍 Translation of individual functions to SQL
Milestone

Comments

@hadley
Copy link
Member

hadley commented Jan 3, 2019

So that sum(x[y == 0]) becomes SUM(CASE WHEN y = 0 THEN x)

Needs #200

@hadley hadley added feature a feature request or enhancement func trans 🌍 Translation of individual functions to SQL labels Jan 3, 2019
@hadley hadley added this to the v1.4.0 milestone Jan 9, 2019
@hadley hadley closed this as completed in bbb7259 Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement func trans 🌍 Translation of individual functions to SQL
Projects
None yet
Development

No branches or pull requests

1 participant