Skip to content

Fix IS_NULLABLE in getColumns (1.5)#666

Merged
staticlibs merged 1 commit intoduckdb:v1.5-variegatafrom
staticlibs:dbmeta_is_nullable_15
Apr 19, 2026
Merged

Fix IS_NULLABLE in getColumns (1.5)#666
staticlibs merged 1 commit intoduckdb:v1.5-variegatafrom
staticlibs:dbmeta_is_nullable_15

Conversation

@staticlibs
Copy link
Copy Markdown
Collaborator

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

This PR fixes the output type and value of the IS_NULLABLE column of the DatabaseMetaData#getColumns() method (ref).

It was inadvertently broken by #639 that changed the underlying query to use duckdb_columns() instead of information_schema.columns view, that returns almost the same columns, but not exactly (impl).

Fixes: #664

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

This PR fixes the output type and value of the `IS_NULLABLE` column of
the `DatabaseMetaData#getColumns()` method ([ref](https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html#getColumns-java.lang.String-java.lang.String-java.lang.String-java.lang.String-)).

It was inadvertently broken by duckdb#639 that changed the underlying query to
use `duckdb_columns()` instead of `information_schema.columns` view,
that returns almost the same columns, but not exactly ([impl](https://github.com/duckdb/duckdb/blob/e64b98f66712b9674897bb27f7f417e5e88fb4be/src/catalog/default/default_views.cpp#L51)).

Fixes: duckdb#664
@staticlibs staticlibs merged commit 083033b into duckdb:v1.5-variegata Apr 19, 2026
15 checks passed
@staticlibs staticlibs deleted the dbmeta_is_nullable_15 branch April 20, 2026 22:11
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