Forum Discussion

deeps's avatar
deeps
New Contributor III
3 years ago
Solved

Rest Get output is in filename.json.gz format need to convert to csv

Hello All, I have file called “filename.json.gz” which is obtained using REST GET Snap and I need to convert it to a CSV format file. I need this transformation to be done in one pipeline. Any h...
  • RoyB's avatar
    2 years ago

    figured it out. the ID field needs to be assigned to $original.ID

    The "orginal", which is case sensitive, lifts it into a sub-document in the json

    which is then ignored by the SET, but you are still able to include it in the WHERE

    (I had tried this already, but had typed it as Original, which didn't work, but revisited it once I found sometihng in the help for the SQL SERVER UPDATE Snap