We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seems we should impliment auto_copy.tbl_polarssql_connection. https://github.com/tidyverse/dbplyr/blob/388a6eef0e634efa693d809061ceac91d3b69a77/R/verb-copy-to.R#L97-L101
auto_copy.tbl_polarssql_connection
Something like:
auto_copy.tbl_polarssql_connection <- function(x, y, copy = FALSE, ...) { copy_to(x$src, as_polars_lf(y), unique_table_name(), ...) }
Since the type of y is unknown, we need a generic function as_polars_lf here and need to convert it to polars LazyFrame.
y
as_polars_lf
The text was updated successfully, but these errors were encountered:
dbplyr generates SQL like this by default:
SELECT "band_members".*, "plays" FROM "band_members" LEFT JOIN "band_instruments" ON ("band_members"."name" = "band_instruments"."name")
But Polars doesn't seem to support () after ON.
()
ON
Sorry, something went wrong.
Maybe came from here. https://github.com/pola-rs/polars/blob/447e750d338b904a190f824049af3087d837afbc/crates/polars-sql/src/sql_expr.rs#L690-L728
No branches or pull requests
Seems we should impliment
auto_copy.tbl_polarssql_connection
.https://github.com/tidyverse/dbplyr/blob/388a6eef0e634efa693d809061ceac91d3b69a77/R/verb-copy-to.R#L97-L101
Something like:
Since the type of
y
is unknown, we need a generic functionas_polars_lf
here and need to convert it to polars LazyFrame.The text was updated successfully, but these errors were encountered: