Skip to content

Added support for getClientInfoProperties and getTypeInfo to return a new resultset - #1187

Merged
msrathore-db merged 6 commits into
databricks:mainfrom
msrathore-db:issue-1178
Feb 3, 2026
Merged

msrathore-db merged 6 commits into
databricks:mainfrom
msrathore-db:issue-1178

Conversation

@msrathore-db

@msrathore-db msrathore-db commented Jan 26, 2026 •

Copy link
Copy Markdown
Collaborator

Added support for getClientInfoProperties and getTypeInfo to return a new resultset and not return the same resultset matching the JDBC spec

Description

Added support for getClientInfoProperties and getTypeInfo to return a new resultset and not return the same resultset matching the JDBC spec

Testing

Added tests

Additional Notes to the Reviewer

Fixes: #1178

…ifferent resultsets and not return the same resultset matching the JDBC spec
  - Self-contained MetadataResultSetBuilder
  - ~18 lines in ResultConstants.java (deprecated stub)
  - ~370 lines in MetadataResultSetBuilder (all in one place)
LOGGER.debug("public ResultSet getClientInfoProperties()");
throwExceptionIfConnectionIsClosed();
return CLIENT_INFO_PROPERTIES_RESULT;
return metadataResultSetBuilder.getClientInfoPropertiesResult();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check if there are any other functions with the similar issue

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't find

@msrathore-db
msrathore-db merged commit b5c5067 into databricks:main Feb 3, 2026
12 of 13 checks passed
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.

[BUG]

2 participants