phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3427) rdd.saveToPhoenix gives table undefined error when attempting to write to a tenant-specific view (TenantId defined in configuration object and passed to saveToPhoenix)
Date Fri, 11 Nov 2016 00:20:58 GMT

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

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

Github user nico-pappagianis commented on the issue:

    https://github.com/apache/phoenix/pull/221
  
    Looks like everything's there.
    Oh sorry about the white space - I must have hit IntelliJ auto format
    shortcut.
    
    Thanks again for all the help!
    
    On Thursday, November 10, 2016, Josh Mahonin <notifications@github.com>
    wrote:
    
    > Thanks @nico-pappagianis <https://github.com/nico-pappagianis> I think
    > I've got it squared away. Your changes are contained in the following
    > commits:
    >
    > 3886638
    > <https://github.com/apache/phoenix/commit/3886638b04a3e494be70e1e681ad56cb1c7e33c5>
    > 3b07c2f
    > <https://github.com/apache/phoenix/commit/3b07c2f1bad96210e9a81079aed1149f5fcb71bc>
    >
    > Please let me know if I missed anything. Note that I pruned some of the
    > whitespace-only changes to unrelated files. The unit tests pass for me
    > though. Thanks and well done!
    >
    > —
    > You are receiving this because you were mentioned.
    > Reply to this email directly, view it on GitHub
    > <https://github.com/apache/phoenix/pull/221#issuecomment-259846577>, or mute
    > the thread
    > <https://github.com/notifications/unsubscribe-auth/ABdNQLwI-Sa8KBNHaQQDKoRJYfxMa53Cks5q87OmgaJpZM4Krmym>
    > .
    >



> rdd.saveToPhoenix gives table undefined error when attempting to write to a tenant-specific
view (TenantId defined in configuration object and passed to saveToPhoenix)
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3427
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3427
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Nico Pappagianis
>
> Although we can read from a tenant-specific view by passing TenantId in the conf object
when calling sc.phoenixTableAsRDD the same does not hold for rdd.saveToPhoenix. Calling saveToPhoenix
with a tenant-specific view as the table name gives a table undefined error, even when passing
in the TenantId with the conf object.
> It appears that TenantId is lost during the execution path of saveToPhoenix.



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

Mime
View raw message