-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Improve DuckDB connector docs #25146
base: master
Are you sure you want to change the base?
Conversation
|
||
```none | ||
connector.name=duckdb | ||
connection-url=jdbc:duckdb://<path> | ||
connection-user=root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Username and password are actually not supported by DuckDB .. so better to remove here. Maybe even in code.
nodes and point to a shared storage to ensure that all nodes operate on the same | ||
database. | ||
|
||
Refer to the DuckDB documentation for tips on [securing DuckDB]( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I am not sure if you can secure DuckDB sufficiently. We might need to figure out more details for example around using query table function with functions that read from the file system .. is that possible? If yes.. should we add more info there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But for now .. I think we are ok to leave that problem to the user.
to the DuckDB JDBC driver. The parameters for the URL are available in the | ||
[DuckDB JDBC driver documentation](https://duckdb.org/docs/clients/java.html). | ||
|
||
The `<path>` must point to an existing, persistent DuckDB database. For example, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least thats how I got it to work..
bca4963
to
bb9ac62
Compare
nodes and point to a shared storage to ensure that all nodes operate on the same | ||
database. | ||
|
||
Using a in-memory DuckDB database `jdbc:duckdb:` is not supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
fyi @StephenOTT .. any insight from your testing?
#23419
#25143
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.