...
Code Block | ||
---|---|---|
| ||
projectJSON = PROJECT({paths = [['timestamp.unixtimestamp', 'List(Integer)'],['timestamp.iso', 'String']]}, receiverJSON) |
Map
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) |
Wrapper
The feature adds protocol handler for the common key-value data formats JSON and BSON (binary JSON).
...