- 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.
- INSTANT FreeMarker Starter
- C/C++算法從菜鳥到達(dá)人
- 深入淺出Spring Boot 2.x
- Oracle Database 12c Security Cookbook
- 大學(xué)計算機(jī)基礎(chǔ)(第2版)(微課版)
- Java:High-Performance Apps with Java 9
- 大數(shù)據(jù)分析與應(yīng)用實戰(zhàn):統(tǒng)計機(jī)器學(xué)習(xí)之?dāng)?shù)據(jù)導(dǎo)向編程
- D3.js By Example
- HTML5秘籍(第2版)
- 案例式C語言程序設(shè)計實驗指導(dǎo)
- 算法圖解
- JQuery風(fēng)暴:完美用戶體驗
- Spark技術(shù)內(nèi)幕:深入解析Spark內(nèi)核架構(gòu)設(shè)計與實現(xiàn)原理
- Java Web開發(fā)教程:基于Struts2+Hibernate+Spring
- 一覽眾山小:ASP.NET Web開發(fā)修行實錄