Open PUSHKAR99055 opened 6 days ago
Suggest nit in release note entry, adding this PR number to it
== RELEASE NOTES ==
General Changes
Fix capitalization issue in `ResultSetMetadata.getColumnType` to return type names in lowercase, ensuring consistency with `system.jdbc.types` table. :pr:`23065`
Description
I have modified the
getColumnType
method in theResultSetMetadata
class to ensure that the type names returned are in lowercase. This change addresses the inconsistency between thesystem.jdbc.types
table, which stores type names in lowercase, and theResultSetMetadata.getColumnTypeName
method, which previously returned type names in uppercase.Motivation and Context
This change is required to fix the capitalization inconsistency between the `DatabaseMetadata.getTypeInfo` method and the `ResultSetMetadata.getColumnTypeName` method. By ensuring consistent lowercase type names, we avoid potential issues and improve data consistency. This fixes issue #22227.https://github.com/prestodb/presto/issues/22227
Impact
This change does not introduce any new public API or user-facing features. It ensures internal consistency of type names in the system. There is no significant performance impact expected from this change.
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.
== NO RELEASE NOTE ==