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-2902) Adjust PhoenixDatabaseMetadata#getSchemas query if namespaces are enabled
Date Wed, 29 Jun 2016 21:15:11 GMT

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

James Taylor commented on PHOENIX-2902:
---------------------------------------

bq. I don't this property to be set for all the tests in a class and I want to run only specific
tests with namespace enabled. Is there any way to do that?
Nope, no way to do that - you need to separate these tests into a separate test class.
bq. Yes, you are right, I'll check why I added this property.
The property is fine - we should just ignore it at connection time as I mentioned above. Pretty
straightforward change.

> Adjust PhoenixDatabaseMetadata#getSchemas query if namespaces are enabled
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-2902
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2902
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>            Reporter: James Taylor
>            Assignee: Ankit Singhal
>             Fix For: 4.8.0
>
>         Attachments: PHOENIX-2902.patch
>
>
> The call to PhoenixDatabaseMetaData.getSchemas() currently queries the SYSTEM.CATALOG
table to find distinct schema names. If namespaces are enabled, we should likely adjust the
query accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message