tidyverse / dbplyr

Database (DBI) backend for dplyr
https://dbplyr.tidyverse.org
Other
474 stars 173 forks source link

Export sql functions to create a new dbplyr backend outside of dbplyr? #1410

Open eitsupi opened 10 months ago

eitsupi commented 10 months ago

I believe that currently if we create a new dbpryr backend outside of dbplyr, we will need to use non-exported functions.

For example in duckdb: https://github.com/duckdb/duckdb-r/blob/7eeac781c7e524250f53b85bce8024fa01ad24c6/R/backend-dbplyr__duckdb_connection.R#L84-L99

Is there any reason not to export these functions?

hadley commented 9 months ago

Just because they require a little more thought about their interface. But I think it's worth doing, and I'll try tackle early next year as part of a bigger push to standardise string and date handling across backends.