- Learning Informatica PowerCenter 10.x(Second Edition)
- Rahul Malewar
- 198字
- 2021-07-02 20:55:52
Rank Index
When you create a Rank transformation, a default column gets created called Rank Index. This port, if required, can generate numbers indicating the Rank. This is an optional field that you may use if required. If you do not wish to use Rank Index, you can leave the port unconnected.
Suppose you have following data belonging to the SALARY column in the source:
SALARY
100
1000
500
600
1000
800
900
When you pass the data through Rank transformation and define the condition to get the top five salaried records, the Rank transformation generates the Rank index as indicated here:
Rank_Index
Salary
1
1000
1
1000
3
900
4
800
5
600
As you can see, Rank index assigns rank 1 to the same salary value and assigns 3 to the next salary since it is actually 3rd in the sequence. So, if you have five records with 1,000 as salary in the source along with other values and you defined the condition to get the top five salaries, Rank transformation will give all five records with 1,000 salary and reject all others.
With this, you have learned all the details about Rank transformation.
- Learning Spring 5.0
- arc42 by Example
- 機(jī)械工程師Python編程:入門、實(shí)戰(zhàn)與進(jìn)階
- STM32F0實(shí)戰(zhàn):基于HAL庫開發(fā)
- Mastering macOS Programming
- 軟件測試技術(shù)指南
- Android開發(fā)案例教程與項(xiàng)目實(shí)戰(zhàn)(在線實(shí)驗(yàn)+在線自測)
- Visual C#通用范例開發(fā)金典
- Clojure for Java Developers
- 零基礎(chǔ)學(xué)C語言(升級版)
- Learning Nessus for Penetration Testing
- Python商務(wù)數(shù)據(jù)分析(微課版)
- 零基礎(chǔ)看圖學(xué)ScratchJr:少兒趣味編程(全彩大字版)
- Java程序性能優(yōu)化實(shí)戰(zhàn)
- Python Natural Language Processing