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

Use ELSE clause in case_when translation if needed #142

Merged
merged 5 commits into from
Jan 2, 2019

Conversation

cderv
Copy link
Contributor

@cderv cderv commented Aug 11, 2018

This fixes #112 where the approach proposed for ORACLE only is applied for every database directly in sql_case_when
It also closes #102

The CASE statement seems common for all databases
https://modern-sql.com/feature/case

@cderv
Copy link
Contributor Author

cderv commented Aug 27, 2018

This should also close #148

Copy link
Contributor

@edgararuiz-zz edgararuiz-zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @cderv !

@hadley hadley merged commit a82f261 into tidyverse:master Jan 2, 2019
@hadley
Copy link
Member

hadley commented Jan 2, 2019

Thanks @cderv!

@cderv cderv deleted the case-when-oracle branch January 2, 2019 22:09
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.

Case_when translation for ORACLE does not work feature request: case_when() TRUE should translate to ELSE
3 participants