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

Translate nzchar() #1094

Closed
MichaelChirico opened this issue Jan 12, 2023 · 1 comment · Fixed by #1262
Closed

Translate nzchar() #1094

MichaelChirico opened this issue Jan 12, 2023 · 1 comment · Fixed by #1262

Comments

@MichaelChirico
Copy link
Contributor

MichaelChirico commented Jan 12, 2023

I think nzchar() has an ANSI representation as x <> "".

We could also be more precise and take keepNA into account:

  • nzchar(x, keepNA = TRUE) ➡️ x <> ""
  • nzchar(x, keepNA = FALSE) ➡️ (x IS NULL OR x <> "")
@mgirlich
Copy link
Collaborator

Thanks for including the SQL translation. I mentioned you in the NEWS entry to honour that 😄

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.

2 participants