cancel
Showing results for 
Search instead for 
Did you mean: 

Join Merge on all rows

eric_sou
New Contributor III

Hi folks,

I did find that using Join with Merge to append data to an other set only append the merged elements onto the 1st row of the second.
Is there a way to merge on all rows to augment all rows with the merged new value?

eg:
Merging aaa to

bbb
ccc

will show:

bbb aaa
ccc

Desired result is:

bbb aaa
ccc aaa

Thanks,

1 ACCEPTED SOLUTION

cstewart
Former Employee

If you sort the inputs before providing them to the Join, and change the “Sorted Streams” setting to the appropriate Ascending/Descending, do you get the same behaviour?

View solution in original post

6 REPLIES 6

cstewart
Former Employee

To solve this one, you want to join all rows in input 0 with one row in input1?
To do this, use an Inner Join, and set the join critera as Left: “A” joins to Right “A”
image

The result should be what you are looking for.

eric_sou
New Contributor III

Hi, thanks for your feedback.
However, when I do it I get this error message (even with null safe access on):
Failure: Null pointer exception occurred at: com.snaplogic.snaps.transform.multijoin.JoinSorter.cleanup(JoinSorter.java:57), Reason: Null pointer exception occurred at: com.snaplogic.snaps.transform.multijoin.JoinSorter.cleanup(JoinSorter.java:57), Resolution: Please file a defect against the snap

Can you share a picture of the join configuration?

eric_sou
New Contributor III

Hi, there it is.
thanks, 20191121_081025