Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11904

Provide capabilities in data prep to add to json array

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Prep
    • Labels:
    • Rank:
      1|i003sv:

      Description

      In data prep users should be able to add an element to json array.

      Input:

      {"name": "sree", "interests": ["distributed systems"]}

      parse-as-json body
      set columns name,interests
      set column interests json:add(interests, "cask")

      The result should be
      name: sree
      interests: ["distributed systems", "cask"]

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: