You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, there are two places where the database directory can be specified for a DuckDB database instance. Either in the driver or in the connection functions respectively.
By having two places to specify the dbdir argument it is a bit confusing to know which is the preference. Then, there is a possible point of confusion where a database path may be specified in the driver but another in the connection function. And when this happens the path specified in dbConnect() silently takes precedence.
My personal preference would be that there is only one place to specify the path (it feels best to be in the driver, imo). Otherwise, there should be an error or a warning when setting dbir in dbConnect() when one is already provided by duckdb()
At present, there are two places where the database directory can be specified for a DuckDB database instance. Either in the driver or in the connection functions respectively.
By having two places to specify the dbdir argument it is a bit confusing to know which is the preference. Then, there is a possible point of confusion where a database path may be specified in the driver but another in the connection function. And when this happens the path specified in
dbConnect()
silently takes precedence.My personal preference would be that there is only one place to specify the path (it feels best to be in the driver, imo). Otherwise, there should be an error or a warning when setting
dbir
indbConnect()
when one is already provided byduckdb()
Created on 2024-05-24 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: