- 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.
- 小程序?qū)崙?zhàn)視頻課:微信小程序開發(fā)全案精講
- 深入淺出Android Jetpack
- Visual Basic程序設計教程
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- Redis Essentials
- Mastering Linux Network Administration
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- 從Java到Web程序設計教程
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰(zhàn)
- Swift 4 Protocol-Oriented Programming(Third Edition)
- Android開發(fā)三劍客:UML、模式與測試
- 智能手機APP UI設計與應用任務教程
- 持續(xù)集成與持續(xù)交付實戰(zhàn):用Jenkins、Travis CI和CircleCI構(gòu)建和發(fā)布大規(guī)模高質(zhì)量軟件
- Apache Solr PHP Integration
- Mastering OAuth 2.0