[
https://issues.apache.org/jira/browse/PHOENIX-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059119#comment-14059119
]
ASF GitHub Bot commented on PHOENIX-933:
----------------------------------------
Github user chrajeshbabu commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/1#discussion_r14834905
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCompiler.java
---
@@ -320,7 +322,21 @@ public Expression visitLeave(FunctionParseNode node,
List<Expression> children)
* @throws SQLException if the column expression node does not refer
to a known/unambiguous column
*/
protected ColumnRef resolveColumn(ColumnParseNode node) throws
SQLException {
- ColumnRef ref =
context.getResolver().resolveColumn(node.getSchemaName(), node.getTableName(),
node.getName());
+ ColumnRef ref = null;
+ try {
+ ref =
context.getResolver().resolveColumn(node.getSchemaName(), node.getTableName(),
node.getName());
+ } catch (ColumnNotFoundException e) {
+ // If local index table (need to test join case here)
--- End diff --
Added the comment.
> Local index support to Phoenix
> ------------------------------
>
> Key: PHOENIX-933
> URL: https://issues.apache.org/jira/browse/PHOENIX-933
> Project: Phoenix
> Issue Type: New Feature
> Reporter: rajeshbabu
>
> Hindex(https://github.com/Huawei-Hadoop/hindex) provides local indexing
> support to HBase. It stores region level index in a separate table, and
> co-locates the user and index table regions with a custom load balancer.
> See http://goo.gl/phkhwC and http://goo.gl/EswlxC for more information.
> This JIRA addresses the local indexing solution integration to phoenix.
--
This message was sent by Atlassian JIRA
(v6.2#6252)