FROM_KEY_VALUE
Maps a list of key values to a record with fields for each key.
Syntax
Arguments
Name | Type | Description | Default Value |
---|---|---|---|
keys | string | ||
key | string | ||
value | any |
Examples
keys | key | value | Output |
---|---|---|---|
'foo, hello' | array['foo', 'hello'] | array['bar', 'world'] | {foo: |
'foo, hello' | array['foo', 'hoo'] | array['bar', 'zoo'] | {foo: |
Transformation job example
SQL
Query result
keys | key[] | value[] | Output |
---|---|---|---|
'foo, hello' | array['foo', 'hello'] | array['bar', 'world'] | {foo: |
Last updated