Skip to main content

In the past I've always used a Group By with the line combiner to join lines that share a common value. Now there appears to be a parameter called Combine On Attribute - how does this differ from the Group By option?

Hi @egomm

That is a great question. I checked the Help from this transformer LineCombiner and I have your some question.

Thanks,

Danilo


The parameters are similar if used individually, but allow for greater control when used in combination.

 

 

The differences between them are the Group-By allows for parallel processing, but the Combine on Attribute does not.

 

 

If Drop incoming attributes is selected, any attributes on the Combine on Attributes will be dropped, but any in the Group By will be preserved.

 

 

If Break Across Attribute Values is Yes, then two lines with the same values in the Combined on Attributes will not be joined if there is a 3rd line with differing values (but it would if nothing was set on Combine on Attribute and the Group-By was used instead).

The parameters are similar if used individually, but allow for greater control when used in combination.

 

 

The differences between them are the Group-By allows for parallel processing, but the Combine on Attribute does not.

 

 

If Drop incoming attributes is selected, any attributes on the Combine on Attributes will be dropped, but any in the Group By will be preserved.

 

 

If Break Across Attribute Values is Yes, then two lines with the same values in the Combined on Attributes will not be joined if there is a 3rd line with differing values (but it would if nothing was set on Combine on Attribute and the Group-By was used instead).
Yes, I think the main reason is the Break Across Attribute Values parameter. Although I guess that could still apply to Group By. Either way I'm finding this odd too, so I've asked the technical publications team to update the doc with more info (ref TECHPUBS-5764)

 


Reply