You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression: DatabaseMetaData.getColumns returns IS_NULLABLE="true"/"false" instead of JDBC spec "YES"/"NO" #664
In duckdb_jdbc 1.5.2.0, DatabaseMetaData.getColumns(...) returns values of "true" / "false" for the IS_NULLABLE column. The JDBC specification mandates "YES" / "NO" / "" (empty). 1.5.1.0 returned "YES" as expected; this is a regression.
This breaks consumers that parse IS_NULLABLE per spec — notably jOOQ's generic MetaImpl under SQLDialect.DEFAULT, whose getTables(...) then returns tables with an empty field list.
String => ISO rules are used to determine the nullability for a column.
YES --- if the column can include NULLs
NO --- if the column cannot include NULLs
empty string --- if the nullability for the column is unknown
Boolean literals "true" / "false" are not valid per the spec.
Impact
Any JDBC consumer that does "YES".equals(isNullable) / "NO".equals(isNullable) will misinterpret column nullability.
jOOQ 3.21.x generic Meta with SQLDialect.DEFAULT returns tables with zero fields against DuckDB 1.5.2.0, whereas SQLDialect.DUCKDB (dialect-specific path) still works. This surfaces in downstream test suites that use DSL.using(conn, SQLDialect.DEFAULT).meta() for inspection.
changed the title [-]DatabaseMetaData.getColumns returns IS_NULLABLE="true"/"false" instead of JDBC spec "YES"/"NO" (regression in 1.5.2.0)[/-][+]Regression: DatabaseMetaData.getColumns returns IS_NULLABLE="true"/"false" instead of JDBC spec "YES"/"NO"[/+]on Apr 18, 2026
Activity
[-]DatabaseMetaData.getColumns returns IS_NULLABLE="true"/"false" instead of JDBC spec "YES"/"NO" (regression in 1.5.2.0)[/-][+]Regression: DatabaseMetaData.getColumns returns IS_NULLABLE="true"/"false" instead of JDBC spec "YES"/"NO"[/+]Fix IS_NULLABLE in DatabaseMetaData.getColumns
Fix IS_NULLABLE in getColumns (1.5)
Fix IS_NULLABLE in DatabaseMetaData.getColumns
Fix IS_NULLABLE in getColumns (1.5)
staticlibs commentedon Apr 19, 2026
Thanks for the report! This should be fixed in #665, the following 1.5 snapshot build with the fix can be used:
wdroste commentedon Apr 21, 2026
I'll have answers for you tomorrow, I'm deploying it tonight.
wdroste commentedon Apr 25, 2026
Sorry I'm late on this it looks good.