- Learning Informatica PowerCenter 10.x(Second Edition)
- Rahul Malewar
- 208字
- 2021-07-02 20:55:51
Sorter transformation
Sorter transformation is used to sort the data in ascending or descending order based on single key or multiple keys. A sample mapping showing sorter transformation is indicated in the following screenshot:

In the preceding mapping, we wish to sort the data based on the DEPARTMENT_ID field. To achieve this, mark the key port for the DEPARTMENT_ID columns in the sorter transformation, and select from the drop-down you wish to have Ascending or Descending sorting as shown in the following screenshot:

If you wish to sort the data on multiple columns, check the Key ports corresponding to the required port.
Apart from ordering the data in ascending or descending order, you can also use sorter transformation to remove duplicates from the data using the distinct option in the properties. Sorter can remove duplicates only if the complete record is duplicate, and not only a particular column. To remove the duplicate, check the Distinct option in sorter transformation as shown in the following screenshot:

Sorter transformation accepts the data in a row-wise manner and stores the data in cache internally. Once the data in received completely, it sorts the data in ascending or descending order based on the condition and sends the data to the output port.
- C++ Primer習題集(第5版)
- ExtGWT Rich Internet Application Cookbook
- 高效微控制器C語言編程
- 微服務與事件驅動架構
- Java高并發核心編程(卷2):多線程、鎖、JMM、JUC、高并發設計模式
- 控糖控脂健康餐
- Cocos2d-x游戲開發:手把手教你Lua語言的編程方法
- 深入淺出DPDK
- Learning Firefox OS Application Development
- INSTANT OpenNMS Starter
- EPLAN實戰設計
- Java系統化項目開發教程
- ScratchJr趣味編程動手玩:讓孩子用編程講故事
- Raspberry Pi Blueprints
- Java服務端研發知識圖譜