Skip to content

any(is.na(X)) is translated incorrrectly for MSSQL #1273

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

Closed
ejneer opened this issue May 1, 2023 · 0 comments · Fixed by #1274
Closed

any(is.na(X)) is translated incorrrectly for MSSQL #1273

ejneer opened this issue May 1, 2023 · 0 comments · Fixed by #1274

Comments

@ejneer
Copy link
Contributor

ejneer commented May 1, 2023

FWIW any(is.na(X)) is also translated incorrrectly for MSSQL to MAX(CAST(IIF(("X" IS NULL), 1, 0) AS BIT)), which generates error: Operand data type bit is invalid for max operator.

Originally posted by @carlganz in #1239 (comment)

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 a pull request may close this issue.

1 participant