Skip to main content
Question

"Flattering" left join

  • September 1, 2016
  • 4 replies
  • 13 views

Forum|alt.badge.img

How can I change something like this:

1Chris1Rock2John2Small

Into something like this:

1Chris Rock

 

2John Small

 

Thanks,

Submi

4 replies

Forum|alt.badge.img
  • September 1, 2016

For SQL solution, look at this link.

For workbench solution, assuming that id = index and a space is used as the separator:

Gives:

Note that your features have to be correctly ordered.

Regards,

Larry


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 1, 2016

or just the aggregator with a group by set to the index and attributes to concatenation are the strings using a space " " for separation


erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • September 1, 2016

This can also be done using the Aggregator transformer, grouping by index.


Forum|alt.badge.img
  • Author
  • September 1, 2016

Wow, thanks for many answers. In meantime I have found aggregator transformer but also ordering issue as mentioned by larry.

Many thanks again,

Submi


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings