Page 1 of 1

sorting in sort stage Vs Transformer

Posted: Fri Aug 08, 2008 7:43 am
by reddy12
dear experts,
i have a question.( parallel DS8/AIX5.3)

what is the difference between
sorting using a sort stage and
using a transfomer with hash partioning and checking the sort checkbox??


appreciate your help,
regards.

Posted: Fri Aug 08, 2008 7:54 am
by ArndW
The sort stage gives you more options and control.

Posted: Fri Aug 08, 2008 8:02 am
by reddy12
thanks for the Reply.

can you be more specific ???



Regards.

Posted: Fri Aug 08, 2008 8:46 am
by ArndW
The implicit sort lets you choose key and order. Add a sort stage to your designer canvas and check which options you can specify there to see the difference.

Posted: Fri Aug 08, 2008 8:59 am
by reddy12
does both the operators use the scratch space for sorting the data in both cases or only the sort uses the scratch space and transformer uses the resource disk???

regards.

Posted: Fri Aug 08, 2008 4:22 pm
by ray.wurlod
All sort methods (explicit (Sort stage), implicit (input link) and inserted) use the same tsort operator. It's just that an explicit Sort stage gives you access to more of the operator's options.

Posted: Mon Aug 11, 2008 8:14 pm
by vmcburney
The sort stage also looks better - you can see that a sort is happening rather than hiding it away on the partitioning tab. If you are going to insert custom partitioning and sort options on the advanced tab I would recommend adding a job annotation to explain what you have done.

Posted: Mon Aug 11, 2008 8:25 pm
by ray.wurlod
You do get a Sort link marker (unless, of course, you disable display of link markers).