Skip to content

Conversation

@ennuite
Copy link
Contributor

@ennuite ennuite commented Feb 2, 2026

What's Changed

Multiple DatabaseMetaData methods had NPEs when the method
ArrowDatabaseMetadata.getSqlInfoAndCacheIfCacheIsEmpty(final SqlInfo sqlInfoCommand, final Class<T> desiredType)
returned null.

Now the method never returns null. If the database server does not provide the requested info, either a sensible default is returned or a SQLException is thrown.

Closes #994.

@github-actions

This comment has been minimized.

@lidavidm lidavidm added the bug-fix PRs that fix a big. label Feb 2, 2026
@ennuite ennuite marked this pull request as ready for review February 2, 2026 02:28
@github-actions github-actions bot added this to the 19.0.0 milestone Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PRs that fix a big.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FlightSQL][JDBC] NullPointerException in DatabaseMetadata methods when SqlInfo is unavailable

2 participants