Skip to content

Comments

Support LibreOffice table browser#569

Merged
staticlibs merged 1 commit intoduckdb:mainfrom
staticlibs:libreoffice_browser
Feb 20, 2026
Merged

Support LibreOffice table browser#569
staticlibs merged 1 commit intoduckdb:mainfrom
staticlibs:libreoffice_browser

Conversation

@staticlibs
Copy link
Collaborator

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 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 0c8e74a into duckdb:main Feb 20, 2026
13 checks passed
@staticlibs staticlibs deleted the libreoffice_browser branch February 20, 2026 13:49
staticlibs added a commit to staticlibs/duckdb-java that referenced this pull request Feb 20, 2026
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 added a commit that referenced this pull request Feb 20, 2026
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](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: #366
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.

LibreOffice is unable to browse DuckDB tables

1 participant