...
For the key-value MAP operator the "kvexpressions" attribute has to be used. The "expressions" attribute only works for relational tuples.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
output = MAP({ kvexpressions = [ ['timestamp.unixtimestamp', 'Zeit'], ['toLong(timestamp.unixtimestamp + 1)', 'Zeit2'], ['track.artist.name', 'Band'], ['track.name', 'Lied'] ] }, input) |
...