You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/02/08 05:27:19 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13895426#comment-13895426 ]
Hudson commented on PHOENIX-30:
-------------------------------
SUCCESS: Integrated in Apache Phoenix - Build:master #38 (See [https://builds.apache.org/job/Phoenix/38/])
PHOENIX-30 NPE on PTable.getColumn(String) if column with same name used in the PK and non PK (JamesTaylor) (jamestaylor: rev 5d1fd559b27ea04d677b5a77fb26ab1d685053ee)
* phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompileTest.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PTableImpl.java
> 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)