Skip to content

Comments

Support LibreOffice table browser (1.5)#572

Merged
staticlibs merged 1 commit intoduckdb:v1.5-variegatafrom
staticlibs:libreoffice_browser_15
Feb 20, 2026
Merged

Support LibreOffice table browser (1.5)#572
staticlibs merged 1 commit intoduckdb:v1.5-variegatafrom
staticlibs:libreoffice_browser_15

Conversation

@staticlibs
Copy link
Collaborator

This is a backport of the PR #569 to v1.5-variegata stable branch.

This PR adds support for browsing DuckDB tables using LibreOffice Base.

The TABLE_TYPE column in DatabaseMetadata#getTables() is changed from SQL standard BASE TABLE to TABLE that is required by LibreOffice. This matches the implementation in the PostgreSQL JDBC driver.

Besides that the access_mode=READ_ONLY URL parameter now correctly marks the Connection as read-only (JDBC-specific option duckdb.read_only was required before that).

Testing: existing tests are adjusted, coverage is extended around read-only options handling.

Fixes: #366

This is a backport of the PR duckdb#569 to `v1.5-variegata` stable branch.

This PR adds support for browsing DuckDB tables using [LibreOffice
Base](https://www.libreoffice.org/discover/base/).

The `TABLE_TYPE` column in `DatabaseMetadata#getTables()` is changed
from SQL standard `BASE TABLE` to `TABLE` that is required by
LibreOffice. This matches the implementation in the PostgreSQL JDBC
driver.

Besides that the `access_mode=READ_ONLY` URL parameter now correctly
marks the `Connection` as read-only (JDBC-specific option
`duckdb.read_only` was required before that).

Testing: existing tests are adjusted, coverage is extended around
read-only options handling.

Fixes: duckdb#366
@staticlibs staticlibs merged commit 4e3044c into duckdb:v1.5-variegata Feb 20, 2026
34 of 36 checks passed
@staticlibs staticlibs deleted the libreoffice_browser_15 branch February 20, 2026 16:45
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.

1 participant