FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-994: Fix DatabaseMetaData NPEs when SqlInfo is unavailable by ennuite · Pull Request #995 · apache/arrow-java · GitHub

GH-994: Fix DatabaseMetaData NPEs when SqlInfo is unavailable - #995

Merged
jbonofre merged 5 commits into
apache:mainfrom
ennuite:fix-database-metadata-npe
Mar 11, 2026
Merged

GH-994: Fix DatabaseMetaData NPEs when SqlInfo is unavailable#995
jbonofre merged 5 commits into
apache:mainfrom
ennuite:fix-database-metadata-npe

Conversation

ennuite commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

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.

This comment has been minimized.

lidavidm added the bug-fix PRs that fix a big. label Feb 2, 2026
ennuite marked this pull request as ready for review February 2, 2026 02:28
github-actions Bot added this to the 19.0.0 milestone Feb 2, 2026

ennuite commented Feb 23, 2026

Copy link
Copy Markdown
Contributor Author

@jbonofre will this go into 19.0.0? It's a simple fix, most of the PR is a test.

jbonofre merged commit bdec833 into apache:main Mar 11, 2026
26 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

3 participants


Back | FazBrowse Home | New Git URL