broken SQL translation for is.na #1695
Closed
Milestone
Comments
I now get: translate_sql(!is.na(if (x) y else z))
#> <SQL> NOT((CASE WHEN ("x") THEN ("y") ELSE ("z") END) IS NULL) I think that's more likely to parse correctly. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
returns
The keyword ENDIS is not part of any SQL dialect I know of and it seems like a space fell through the cracks.
Comparing the defs for is.na and is.null in base_scalar seems to confirm the hypothesis
The text was updated successfully, but these errors were encountered: