Skip to content

This backend supports Apache Impala, typically accessed via odbc. Use dialect_impala() with lazy_frame() to see simulated SQL without connecting to a live database.

Key differences for this backend are a scattering of custom translations provided by users, mostly focussed on bitwise operations.

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

Usage

dialect_impala()

simulate_impala()

Examples

library(dplyr, warn.conflicts = FALSE)

lf <- lazy_frame(a = TRUE, b = 1, c = 2, d = "z", con = dialect_impala())
lf |> transmute(X = bitwNot(bitwOr(b, c)))
#> <SQL>
#> SELECT BITNOT(BITOR("b", "c")) AS "X"
#> FROM "df"