phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4654) In PhoenixDatabaseMetaData.addTenantIdFilter add WHERE TENANT_ID is NULL when the connection used does not have a tenant id
Date Thu, 15 Mar 2018 02:12:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-4654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399787#comment-16399787
] 

James Taylor commented on PHOENIX-4654:
---------------------------------------

There's a subtle distinction in using a null tenantId and an empty string tenantId. The latter
will do as you mention (add an IS NULL clause), but the former is a way to get all tenants
- global and multi-tenant.

> In PhoenixDatabaseMetaData.addTenantIdFilter add WHERE TENANT_ID is NULL when the connection
used does not have a tenant id 
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4654
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4654
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Thomas D'Silva
>            Assignee: Thomas D'Silva
>            Priority: Major
>
> or else we end up doing a full table scan



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message