...
expressions:A list of expressions to map multiple incoming attribute values to out-coming attributes. Optional each expression can have a name (in this case use['expression', 'expressionName'])kvexpressions: Same as expressions, but for key value objects.threads:Number of threads used to process the expressions simultaneous. A positive number greater than 1 indicates the fixed number of threads, a value of 0 or 1 disables threading, and a negative number estimates the number of threads based on the number of expressions and the available processors.kvexpressions: Same as expressions, but for key value objects. (only for use with key value objects)keepAttributes: If set to true, all key value pairs will be kept, even if not mentioned in kvexpressions. (only for use with key value objects)removeAttribtues:A List of attributes, which will be removed from the key value object. (only for use with key value objects)
Example
PQL
| Code Block | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
output = MAP({
expressions = [
['auction_id * 5','AuctionMult5'],
'sqrt(auction_id)'
]
}, input) |
...