You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/02/08 03:05:19 UTC
[jira] [Updated] (PHOENIX-30) NPE on PTable.getColumn(String) if
column with same name used in the PK and non PK
[ https://issues.apache.org/jira/browse/PHOENIX-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-30:
--------------------------------
Attachment: phoenix-30_1.diff
Patch for fix
> NPE on PTable.getColumn(String) if column with same name used in the PK and non PK
> ----------------------------------------------------------------------------------
>
> Key: PHOENIX-30
> URL: https://issues.apache.org/jira/browse/PHOENIX-30
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Fix For: 3.0.0
>
> Attachments: phoenix-30_1.diff
>
>
> If the same column is used in the PK and as a non PK column (as a dynamic column in the case I saw), the getColumn(String) call to look up a column by name fails with an NPE when determining whether or not the column is ambiguous.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)