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: bar
, hello: world
}
'foo, hello'
array['foo', 'hoo']
array['bar', 'zoo']
{foo: bar
, hello: null}
Transformation job example
SQL
Query result
keys
key[]
value[]
Output
'foo, hello'
array['foo', 'hello']
array['bar', 'world']
{foo: bar
, hello: world
}
Last updated