Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1950

Import Transform option using supertype instead of a specific type

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.3
    • Fix Version/s: None
    • Component/s: atlas-core
    • Labels:
      None

      Description

      Users can provide a tranforms option while import to replace @cl1 in hive_table to @cl2 using the following JSON.

      {
          "options": {
              "transforms": "{ \"hive_table\": { \"qualifiedName\": [ \"replace:@cl1:@cl2\" ] } }"
          }
      }
      

      It would be easy to specify a super type like 'Asset' to transform all types in the export items which inherit from the super type to have "@cl1" replaced with "@cl2" like

      {
          "options": {
              "transforms": "{ \"Asset\": { \"qualifiedName\": [ \"replace:@cl1:@cl2\" ] } }"
          }
      }
      

        Attachments

        1. ATLAS-1950.patch
          10 kB
          Ashutosh Mestry

          Issue Links

            Activity

              People

              • Assignee:
                ashutoshm Ashutosh Mestry
                Reporter:
                ssainath Sharmadha Sainath
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: