- 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# 7 and .NET Core Cookbook
- The Computer Vision Workshop
- C語言從入門到精通(第4版)
- Effective Python Penetration Testing
- Hands-On Reinforcement Learning with Python
- R語言與網絡輿情處理
- Node.js:來一打 C++ 擴展
- 匯編語言編程基礎:基于LoongArch
- Emgu CV Essentials
- Building Serverless Web Applications
- Delphi開發典型模塊大全(修訂版)
- 嵌入式C編程實戰
- WCF全面解析
- C語言從入門到精通(第5版)