I search many and I notice there are most of the way is used the job or subjob to implement the loop.
I think is it a waste system source? it is a good way?
I write code and know loop grammar in the programmer like 'while', 'for', 'foreach' and some specific iterator, due to some reason I need use the pentaho kettle ETL tool to finish my job, and I notice kettle provided the scripting tool -- javascript let developer write the javascript code or java code.
I think if we should use javascript step rather than job or subjob to implement the loop function? Because I just need iterate a samll data stream in most cases, and is there have another ways to simple implement the loop function?
Why Kettle not implement some step like 'iterator'? Is it a possible to implement a iterator via kettle developer API?
Thanks in advance.