You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/08/06 23:32:05 UTC

[jira] [Commented] (PHOENIX-1791) Pherf - Support data creation to multi-tenant views

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

ASF GitHub Bot commented on PHOENIX-1791:
-----------------------------------------

GitHub user jfernandosf opened a pull request:

    https://github.com/apache/phoenix/pull/105

    PHOENIX-1791. Adding ability for Pherf Scenarios to write to a multi-tenant view.

    Small change to Pherf to enable Pherf to allow Scenario declarations to specify multi-tenant views for the tableName attribute and then load data into the tenant specific view.  This change is  to add the tenantId attribute to the scenario XML. If a view is specified in the tableName and a tenantId attribute is specified Pherf will use a tenant specific connection to write to the view.
    
    In the code we pass this tenantId when we get a connection. If it is not specified null is returned and therefore Pherf gets a standard connection when working with that Scenario. If it is specified then Pherf gets a multi-tenant connection for that scenario and then a multi-tenant view can be specified as value for the tableName attribute for the scenario.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jfernandosf/phoenix PHOENIX-1791

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/105.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #105
    
----
commit e97171df9acbc06487c2a88af03e1ce22dcf9b38
Author: Jan <jf...@salesforce.com>
Date:   2015-08-06T18:12:52Z

    PHOENIX-1791. Adding ability for Pherf Write Workloads to write to a multi-tenant view.

----


> Pherf - Support data creation to multi-tenant views
> ---------------------------------------------------
>
>                 Key: PHOENIX-1791
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1791
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Jan Fernando
>            Assignee: Jan Fernando
>            Priority: Minor
>              Labels: Newbie
>
> Pherf currently doesn't allow the data creation phase to use a multi-tenant connection write directly to a multi-tenant view. This enhancement would allow users to write data directly to multi-tenant views that have the same underlying table but where each view has a different set of custom columns.



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