Cumulative sum using Java Transformation

How to find cumulative sum using JAVA Transformation?

Consider the following employees data as source

employee_id, salary

10, 1000

20, 2000

30, 3000

40, 5000

The target table data should look like as

employee_id, salary, cumulative_sum

10, 1000, 1000

20, 2000, 3000

30, 3000, 6000

40, 5000, 11000

*****How to do this using JAVA Transformation*****

Questions by shwetha7575

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions