Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1135

Make Stellar field transformations handle nulls properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.4.1
    • None

    Description

      As it stands, stellar field transformations disallow users to set variables to null (and thus remove the field). This should be corrected. For instance,

      "fieldTransformations" : [
              { "transformation" : "STELLAR"
              ,"output" : [ "new_field", "new_field2"]
              ,"config" : {
                "new_field" : "old_field"
               ,"new_field2" : "old_field2"
               ,"old_field" : "null"
               ,"old_field2" : "null"
                          }
              }
      ]
      

      should rename "old_field" to "new_field and "old_field2" to "old_field2" The current behavior is to keep all 4 fields and to not change old_field or old_field2 at all.

      Attachments

        Issue Links

          Activity

            People

              cestella Casey Stella
              cestella Casey Stella
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: