Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mosabua
Copy link
Member

@mosabua mosabua commented Feb 25, 2025

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.

@mosabua mosabua requested a review from ebyhr February 25, 2025 23:52
@cla-bot cla-bot bot added the cla-signed label Feb 25, 2025
@github-actions github-actions bot added the docs label Feb 25, 2025

```none
connector.name=duckdb
connection-url=jdbc:duckdb://<path>
connection-user=root
Copy link
Member Author

@mosabua mosabua Feb 25, 2025

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.

duckdb/duckdb#8880

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](
Copy link
Member Author

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?

Copy link
Member Author

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.

@mosabua mosabua requested a review from wendigo February 25, 2025 23:56
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,
Copy link
Member Author

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..

@mosabua mosabua mentioned this pull request Feb 25, 2025
@mosabua mosabua force-pushed the bettaduck branch 3 times, most recently from bca4963 to bb9ac62 Compare February 26, 2025 19:44
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.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant