-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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
parameters passed using dbConnect( config = list() ) are ignored #83
Comments
Parameters must be passed to duckdb OR to dbConnect, not the two :
|
Thanks. It's a bit messy right now, the I need to understand the scope at which this configuration applies to be able to propose something better. |
For now, it's safest to set |
@Tmonster: This is a follow-up to #73 (comment) . At the level of the C++ wrapping code, I don't understand the purpose of the CC @hannes. |
This looks much better in #124, I'll merge it today, binaries will be available on https://duckdb.r-universe.dev/duckdb# soon. Can you confirm? |
Spoke too soon. This will remain a "feature": The cleanest way forward would be to deprecate |
Thanks for the heads-up. I'd consider using |
I'm not sure how likely this scenario will be - unless you decide half way through a session, 'oh - I do need to change that table!' - but it's still nice to know there's a reason for the behaviour and a work around. |
Hi,
I saw some code (here) that used config=list() to pass parameters to a duckdb connection.
I tried it, but for me, they are ignored as illustrated below where the memory limit is 432GB instead of the requested 1GB.
Passing parameters using dbExecute(con, "PRAGMA threads=1; PRAGMA memory_limit='1GB';") appears to work.
Maybe config= list() is not a thing, just wanted to make sure:
The text was updated successfully, but these errors were encountered: