Skip to main content
Question

"Flattering" left join

  • September 1, 2016
  • 4 replies
  • 30 views

Forum|alt.badge.img

How can I change something like this:

1Chris1Rock2John2Small

Into something like this:

1Chris Rock

 

2John Small

 

Thanks,

Submi

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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+18
  • 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+26
  • 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