Joins any number of arrays by index using a MessageFormat pattern.
JOIN_ARRAYS(formatString, inputs1[, inputs2, ..., inputsN])
CREATE JOB function_operator_example
ADD_MISSING_COLUMNS = true
AS INSERT INTO default_glue_catalog.upsolver_samples.orders_transformed_data
MAP_COLUMNS_BY_NAME
SELECT formatString, inputs1[], inputs2[], inputs3[],
JOIN_ARRAYS('{0} {1} is {2} years old', inputs1[], inputs2[], inputs3[]) AS Output
FROM default_glue_catalog.upsolver_samples.orders_raw_data
LET formatString = '{0} {1} is {2} years old',
inputs1 = array['John', 'Jane'],
inputs2 = array['Smith', 'Johnson'],
inputs3 = array[35, 32]
WHERE $commit_time BETWEEN run_start_time() AND run_end_time()
LIMIT 1;