See vignette("translate-function") and vignette("translate-verb") for details of overall translation technology. Key differences for this backend are:

  • Temporary tables get # prefix and use LOCAL TEMPORARY COLUMN.

  • No table analysis performed in copy_to().

  • paste() uses ||

  • Note that you can't create new boolean columns from logical expressions; you need to wrap with explicit ifelse: ifelse(x > y, TRUE, FALSE).

Use simulate_hana() with lazy_frame() to see simulated SQL without converting to live access database.

simulate_hana()

Examples

library(dplyr, warn.conflicts = FALSE) lf <- lazy_frame(a = TRUE, b = 1, c = 2, d = "z", con = simulate_hana()) lf %>% transmute(x = paste0(z, " times"))
#> <SQL> #> SELECT `z` || ' times' AS `x` #> FROM `df`