Forum Discussion
Hi Max ,
You can try the reduce function in the mapper snap. You'll need to set {} (an empty object) as the initialElement and apply the extend function to put all array elements into the initialized empty object.
$ranges.reduce((accum, currentValue) => accum.extend(currentValue), {})
Hope this helps!
BR.
- Ajay_Chawda5 years agoContributor
Hi Amrita,
it seems like you are trying to join values which are in array format.
Can you share sample screenshot what input you are trying to pass to join. - Supratim5 years agoContributor III
@Amrita You are trying to join two data set by array which can’t be done.
Looks like you have to use json splitter snap to split array of column name and Column name target field at both input views then use mapper(optional) to select the join id along with other data. If you want to sort by id then use sort snap after mapper, if not make sure you choose unsorted option in join snap.
Related Content
- 3 months ago
- 11 months ago
- 3 months ago