Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. 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)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Labels:
      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nico.pappagianis Nico Pappagianis
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: