`dbWriteTable()` doesn't support `row.names`, `append`, and `field.types` arguments
jarodmeng opened this issue · comments
Jarod G.R. Meng commented
Currently RPresto leverages dbplyr's lazy_values_query to convert a data frame into a VALUES
query and then uses the invented dbCreateTableAs()
method to create a table using the VALUES
query. This approach is different from other packages whereby dbWriteTable()
is essentially a 2-step process using dbCreateTable()
to create a table skeleton and db_append_table()
to insert/append data into the table.
In order for dbWriteTable()
to fully support those arguments, we need to change how it's implemented in the backend.