You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Bruno Dumon (JIRA)" <ji...@apache.org> on 2014/10/03 17:50:33 UTC

[jira] [Updated] (PHOENIX-1271) Column metadata doesn't hide tenant column on tenant-specific connections.

     [ https://issues.apache.org/jira/browse/PHOENIX-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Dumon updated PHOENIX-1271:
---------------------------------
    Attachment: TenantColumnFilteringResultSet.java

> Column metadata doesn't hide tenant column on tenant-specific connections.
> --------------------------------------------------------------------------
>
>                 Key: PHOENIX-1271
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1271
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Karel Vervaeke
>         Attachments: TenantColumnFilteringResultSet.java
>
>
> connection.getMetaData().getColumns(...) always returns all columns.
> For multi-tenant tables it would make more sense if the first PK (the tenant-id column) would be excluded. If we do this the number of columns returned would match the number of columns you get when executing a "select *" query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)