Skip to content

Make DuckDB a marketplace plugin with its JDBC driver, fixes #9879 - #9880

Open
hansva wants to merge 1 commit into
apache:mainfrom
hansva:9879
Open

hansva wants to merge 1 commit into
apache:mainfrom
hansva:9879

Conversation

@hansva

@hansva hansva commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Please add a meaningful description for your change here


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@bamaer bamaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @hansva. Built the plugin from 6b2e07d: the zip has the plugin under plugins/databases/duckdb and duckdb_jdbc-1.5.6.0.jar under lib/jdbc, and the 32 DuckDB unit tests pass. DuckDB IT not run. Two things to add, both from #9879:

<name>Hop Plugins Databases DuckDB</name>

<properties>
<hop.jdbc.driver1>org.duckdb:duckdb_jdbc</hop.jdbc.driver1>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should fix: duckdb_jdbc 1.5.6.0 now ships in the full distribution and in the marketplace zip, but assemblies/static/src/main/resources/LICENSE has no entry for it. #9879 asks to add it by hand:

This product bundles duckdb_jdbc 1.5.6.0, which is available under a
"The MIT" license. For details, see licenses/LICENSE-MIT.

Comment on lines +26 to +28
DuckDB support is a marketplace plugin: it is not part of the default Hop client.
Install the *DuckDB* plugin from the marketplace. It brings the DuckDB JDBC driver along, in `lib/jdbc`, so there is no separate driver to install.
Every DuckDB connection needs that plugin.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should fix: Without the plugin, hop driver install duckdb now fails with "Unknown driver id: 'duckdb'". Containers set up as the 2.19/2.20 docs said, with HOP_DRIVERS_DOWNLOAD=duckdb, stop at startup with exit code 8. Adding HOP_PLUGINS_DOWNLOAD alongside does not help, because the drivers are installed before the plugins.

Could this page give the non-GUI route as well: hop marketplace install hop-databases-duckdb, and in containers HOP_PLUGINS_DOWNLOAD=hop-databases-duckdb instead of HOP_DRIVERS_DOWNLOAD=duckdb? The DuckDB examples in hop-driver.adoc (lines 48 and 83) need another database too, or the same note.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants