You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2016/10/28 01:39:58 UTC
[jira] [Assigned] (PHOENIX-3421) Column name lookups fail when on
an indexed table
[ https://issues.apache.org/jira/browse/PHOENIX-3421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samarth Jain reassigned PHOENIX-3421:
-------------------------------------
Assignee: Samarth Jain
> 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: Samarth Jain
> Attachments: DebuggerWindow.png
>
>
> 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)