phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twdsilva <...@git.apache.org>
Subject [GitHub] phoenix pull request: PHOENIX-514 Support functional indexes
Date Wed, 28 Jan 2015 03:56:05 GMT
Github user twdsilva commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/34#discussion_r23664424
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCompiler.java
---
    @@ -361,7 +362,8 @@ protected ColumnRef resolveColumn(ColumnParseNode node) throws SQLException
{
             // Disallow explicit reference to salting column, tenant ID column, and index
ID column
             if (pkPosition >= 0) {
                 boolean isSalted = table.getBucketNum() != null;
    -            boolean isMultiTenant = context.getConnection().getTenantId() != null &&
table.isMultiTenant();
    +            boolean isMultiTenant = context.getConnection()==null ? table.isMultiTenant()
:
    --- End diff --
    
    I have removed this check.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message