pentaho kettle : get row count from stream

Vicky picture Vicky · Aug 5, 2015 · Viewed 17.1k times · Source

I would like to get the total record count from the get rows from result output and then pass it to parent job.

Any suggestions ?

enter image description here

Answer

Rishu picture Rishu · Aug 5, 2015

Try using "Group BY" or "Memory Group By" step to get the total count of the rows. select the type as : Number of rows in the step and it will return you the total count.

You can read the wiki also : http://wiki.pentaho.com/display/EAI/Group+By

Hope this helps :)