[
https://issues.apache.org/jira/browse/PHOENIX-3421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15635077#comment-15635077
]
Hudson commented on PHOENIX-3421:
---------------------------------
FAILURE: Integrated in Jenkins build Phoenix-master #1471 (See
[https://builds.apache.org/job/Phoenix-master/1471/])
PHOENIX-3421 Column name lookups fail when on an indexed table (jamestaylor:
rev 49914c2e8062bf6b175dc987fac97b3f0e659dbe)
* (edit)
phoenix-core/src/test/java/org/apache/phoenix/util/PhoenixRuntimeTest.java
* (edit)
phoenix-core/src/test/java/org/apache/phoenix/util/PhoenixEncodeDecodeTest.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java
* (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryMoreIT.java
> Column name lookups fail when on an indexed table
> -------------------------------------------------
>
> Key: PHOENIX-3421
> URL: https://issues.apache.org/jira/browse/PHOENIX-3421
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.8.0
> Reporter: Cody Marcel
> Assignee: James Taylor
> Fix For: 4.9.0
>
> Attachments: DebuggerWindow.png, PHOENIX-3421.patch,
> PHOENIX-3421_addendum1.patch
>
>
> Using an index the lookup for encoded values fails.
> This happens on tables when using an index.
> The conflict is essentially between the two methods below. The pkColsList
> create by getPkColsDataTypesForSql() returns column names without a ":", but
> the encodeValues() method does a lookup on PTable for the column and cannot
> find it.
> PhoenixRuntime.getPkColsDataTypesForSql(pkColsList, dataTypesList, queryPlan,
> connection, true);
> PhoenixRuntime.encodeValues(connection, queryPlanTableName, objects ,
> pkColsList);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)