Skip to content

Conversation

@frafra
Copy link
Contributor

@frafra frafra commented Aug 27, 2024

This simple patch adds support for DuckDB. It just requires a single extra line to the Dockerfile:

ADD https://repo1.maven.org/maven2/org/duckdb/duckdb_jdbc/1.0.0/duckdb_jdbc-1.0.0.jar /usr/local/tomcat/webapps/ROOT/WEB-INF/lib

This allows to read a large variety of data sources, such as Parquet files.

For example:

  • Database: :memory:
  • SQL Statement:
install httpfs; load httpfs;
select * from read_parquet('s3://gbif-open-data-eu-central-1/occurrence/2024-08-01/occurrence.parquet/000000');

@MattBlissett
Copy link
Member

Interesting!

@mike-podolskiy90, this would be better as a Maven dependency so non-Docker users can benefit.

@mike-podolskiy90
Copy link
Contributor

Thanks @frafra and @MattBlissett , I'll have a look

@mike-podolskiy90 mike-podolskiy90 self-assigned this Oct 14, 2024
@mike-podolskiy90 mike-podolskiy90 added this to the 3.2 milestone Oct 14, 2024
@frafra
Copy link
Contributor Author

frafra commented Nov 28, 2025

I really like to see it happen, so I rebased the branch and added duckdb as a Maven dependency :)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants