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