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

Translation support for Snowflake is limited #935

Closed
fh-afrachioni opened this issue Jul 6, 2022 · 1 comment
Closed

Translation support for Snowflake is limited #935

fh-afrachioni opened this issue Jul 6, 2022 · 1 comment

Comments

@fh-afrachioni
Copy link
Contributor

Very few Snowflake-specific translations are currently included in dbplyr, leading to breakage when using common features available with other backends:

dbplyr::translate_sql(grepl('pattern', x), con = dbplyr::simulate_snowflake())
#> <SQL> grepl('pattern', `x`)
dbplyr::translate_sql(str_flatten(x), con = dbplyr::simulate_snowflake())
#> Error in `str_flatten()`:
#> ! str_flatten() is not available in this SQL variant
dbplyr::translate_sql(days(x), con = dbplyr::simulate_snowflake())
#> <SQL> days(`x`)
@mgirlich
Copy link
Collaborator

This was fixed in #860.

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

No branches or pull requests

2 participants