Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.