ZIP_WITH_INDEX
Combines multiple arrays by index into records
Syntax
Arguments
Examples
Transformation job example
SQL
Query result
Last updated
Name | Type | Description | Default Value |
---|---|---|---|
fieldNames | inputs1 | inputs2 | inputs3 | Output |
---|---|---|---|---|
fieldNames | inputs1[] | inputs2[] | inputs3[] | Output |
---|---|---|---|---|
fieldNames
string
Optional comma separated field names
""
inputs#
any
null::string
array['a', 'b', 'c']
array[1, 2]
array[false, true, false]
[{index: 0, field_1: a
, field_2: 1, field_3: false}, {index: 1, field_1: b
, field_2: 2, field_3: true}, {index: 2, field_1: c
, field_2: null, field_3: false}]
null::string
array['a', 'b', 'c']
array[1, 2]
array[false, true, false]
[{index: 0, field_1: a
, field_2: 1, field_3: false}, {index: 1, field_1: b
, field_2: 2, field_3: true}, {index: 2, field_1: c
, field_2: null, field_3: false}]