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

Hudson commented on PHOENIX-3427:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-master #1483 (See 
[https://builds.apache.org/job/Phoenix-master/1483/])
PHOENIX-3427 phoenix-spark: Table undefined for tenant specific view (jmahonin: 
rev 3886638b04a3e494be70e1e681ad56cb1c7e33c5)
* (add) 
phoenix-spark/src/it/scala/org/apache/phoenix/spark/AbstractPhoenixSparkIT.scala
* (edit) 
phoenix-spark/src/main/scala/org/apache/phoenix/spark/DefaultSource.scala
* (add) phoenix-spark/src/it/resources/tenantSetup.sql
* (edit) 
phoenix-spark/src/main/scala/org/apache/phoenix/spark/DataFrameFunctions.scala
* (edit) 
phoenix-spark/src/main/scala/org/apache/phoenix/spark/ProductRDDFunctions.scala
* (add) phoenix-spark/src/it/resources/globalSetup.sql
* (edit) 
phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
* (delete) phoenix-spark/src/it/resources/setup.sql
* (add) 
phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkITTenantSpecific.scala
* (edit) 
phoenix-spark/src/main/scala/org/apache/phoenix/spark/ConfigurationUtil.scala


> 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)

Reply via email to