SPLIT_TO_RECORD
Returns the given string split by the provided delimiter.
Syntax
Arguments
Name | Type | Description | Default Value |
---|---|---|---|
fieldNames | string | ||
splitBy | string | ',' | |
filterEmptyValues | boolean | false | |
value | string |
Examples
fieldNames | splitBy | filterEmptyValues | value | Output |
---|---|---|---|---|
'a,b,c' | ',' | false | '1,2,3,4' | {a: |
'a,b,c' | ',' | false | '1,2' | {a: |
'a,b,c' | ',' | true | '1,,3' | {a: |
Transformation job example
SQL
Query result
fieldNames | splitBy | filterEmptyValues | value | Output |
---|---|---|---|---|
'a,b,c' | ',' | false | '1,2,3,4' | {a: |
Last updated