Matthias
4 years agoNew Contributor III
File Reader + parser - assign filename
I’ve got a pipeline which is reading multiple files.
A simplified version is the below:
I’d need the output to contain a column with the filename of the original file.
As the file content ...
- 3 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