문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top