duckdb / duckdb/duckdb-java

`CALL start_ui_server()` triggers extension download in DuckDB 1.5.0

Open
#623 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
127
Forks
80
Avg merge
13h 49m
Merged PRs (30d)
48

Description

After upgrading the DuckDB JDBC client to `1.5.0.0`, calling `CALL start_ui_server()` now attempts to automatically download the `ui` extension from the internet, resulting in a `SQLException`.

java.sql.SQLException: Extension Autoloading Error: An error occurred while trying to
automatically install the required extension 'ui':
Failed to download extension "ui" at URL
"http://extensions.duckdb.org/v1.5.0/osx_arm64/ui.duckdb_extension.gz"

## Environment
- DuckDB JDBC `1.5.0.0`
- macOS ARM64 (Apple Silicon)

## Steps to Reproduce
1. Add DuckDB JDBC `1.5.0.0` as a dependency in a Java project
2. Create a DuckDB connection and execute `CALL start_ui_server()`
3. Observe that DuckDB attempts to download the `ui` extension from `http://extensions.duckdb.org/v1.5.0/osx_arm64/ui.duckdb_extension.gz`
4. Call fails with `SQLException: Extension Autoloading Error`

**Note**: The `ui` extension and `start_ui_server()` were introduced in DuckDB 1.1.0. In versions prior to `1.5.0.0`, `start_ui_server()` worked without triggering an extension download from the internet.

## Expected
`CALL start_ui_server()` should not silently trigger an extension download. If the `ui` extension is not installed, it should fail with a clear error indicating the extension is missing — not attempt a
network download.

## Request
Please advise on how to invoke `start_ui_server()` without triggering an automatic extension download, or provide a way to pre-bundle the `ui` extension for offline environments.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.