Question

I am trying to achieve the below logic using pentaho.The Time column in the input is variable so have to be dynamic enough to accommodate this.Please guide me how to achieve this in pentaho.

Input:-
----------------------
ID    |ID2  |ID3|Time 
----------------------
4001  |1003 |TN |1398364200,1398450600,1398537000,1398623400,1398709800,1398796200
---------------------


Output:-
----------------------------
ID    |ID2  |ID3|  Time 
----------------------------
4001  |1003 |TN |1398364200
4001  |1003 |TN |1398450600
4001  |1003 |TN |1398537000
4001  |1003 |TN |1398623400
4001  |1003 |TN |1398709800
4001  |1003 |TN |1398796200
----------------------------

My Design

Table-->Java Script(For calculating the Time Intervals)-->Split Rows-->Row Normalizer.

I see that the design above is useful only when the no of Time intervals are fixed and not so useful for dynamic data.

Was it helpful?

Solution

andtorg..thanks for pointing out ..I have been using the Split fields for doing this.switched to "split field to rows" it worked.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top