[
https://issues.apache.org/jira/browse/PHOENIX-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17795892#comment-17795892
]
Istvan Toth commented on PHOENIX-7147:
--------------------------------------
This is caused by the change where differentiate between COLUMN_NAME and
COLUMN_CATALOG.
Now we return TABLE_CAT as the column label.
In practice, applications will either use getString("label"), or
getString(column_id), so this is more of a test issue.
The JDBC standard doesn't seem to explicitly specify what getColumnName() has
to return for the ResultSet.
> conn.getMetaData().getCatalogs() returns incorrect column name
> --------------------------------------------------------------
>
> Key: PHOENIX-7147
> URL: https://issues.apache.org/jira/browse/PHOENIX-7147
> Project: Phoenix
> Issue Type: Bug
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
>
> It should return a single column named "TABLE_CAT", but it returns a column
> named TENANT_ID.
> This is a recent regression, this works in 5.1.3.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)