[
https://issues.apache.org/jira/browse/PHOENIX-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-1420.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.2.1
4.2.1
3.3
4.3
> DatabaseMetaData.getschemas returns incorrect column order
> ----------------------------------------------------------
>
> Key: PHOENIX-1420
> URL: https://issues.apache.org/jira/browse/PHOENIX-1420
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.1
> Environment: all OS
> Reporter: Sergio Lob
> Fix For: 4.3, 3.3, 4.2.1, 3.2.1
>
> Attachments: PHOENIX-1420.patch
>
>
> DatabaseMetaData.getSchemas returns incorrect column order. According to java
> 6 api doc, getSchemas should return answer set columns in the following
> order:
>
> 1.TABLE_SCHEM String => schema name
> 2.TABLE_CATALOG String => catalog name
> The Phoenix JDBC driver returns these in reverse column order, i.e.
> 1. TABLE_CATALOG
> 2. TABLE_SCHEM
> Our experience with other JDBC drivers is that they return the data w/
> TABLE_SCHEM being the first column.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)