문제

I am trying to pull together a complex Kettle transformation on a set of patient data. I have several table input steps that query a MySQL table that assembles patient rows into a stream. Each table input step appends a "patient stage" column (e.g. "PreOpScheduled" and "PostOpScheduled").

Now I need to select all the rows of the patient table that are not part of the other table input steps and set the patient stage column to "Active". These rows need to be appended to the stream for further processing.

"Select from patient where not in patient stage stream"

도움이 되었습니까?

해결책

just use a merge join step, and do an outer join, and some row filtering after that.

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