You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dplyr::translate_sql_q(quote(!is.na(if (w > 0) w)))
returns
<SQL> "!"
<SQL> CASE WHEN "w" > 0.0 THEN "w" ENDIS NULL
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
Browse[2]> base_scalar$`is.na`
function (x)
{
build_sql(x, "IS NULL")
}
<environment: namespace:dplyr>
Browse[2]> base_scalar$`is.null`
function (x)
{
build_sql(x, " IS NULL")
}
<environment: namespace:dplyr>
The text was updated successfully, but these errors were encountered:
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: