feature request: case_when() TRUE should translate to ELSE #102
Labels
bug
an unexpected problem or unintended behavior
func trans 🌍
Translation of individual functions to SQL
wip
work in progress
@namarkus commented on Jun 20, 2018, 2:47 PM UTC:
sql translation of case_when() has no else clause
case_when works just fine with dataframes. Using it in a database environment, I'm missing the possibility of defining an else-clause:
translates to:
(...) WHEN (TRUE) THEN ('other') END
whereas it should translate to:
(...) ELSE ('other') END
This issue was moved by batpigandme from tidyverse/dplyr/issues/3688.
The text was updated successfully, but these errors were encountered: