Skip to content

This backend supports Snowflake databases, typically accessed via odbc. Use dialect_snowflake() with lazy_frame() to see simulated SQL without connecting to a live database.

See vignette("translation-function") and vignette("translation-verb") for details of overall translation technology.

Usage

dialect_snowflake()

simulate_snowflake()

Examples

library(dplyr, warn.conflicts = FALSE)

lf <- lazy_frame(a = TRUE, b = 1, c = 2, d = "z", con = dialect_snowflake())
lf |> transmute(x = paste0(d, " times"))
#> <SQL>
#> SELECT ARRAY_TO_STRING(ARRAY_CONSTRUCT_COMPACT("d", ' times'), '') AS "x"
#> FROM "df"