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

Import Transform option using supertype instead of a specific type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.3
    • 1.2.0, 2.0.0
    • atlas-core
    • 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

              amestry Ashutosh Mestry
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: