Loop through all schemas in Talend

落花浮王杯 提交于 2019-12-06 13:07:33

问题


I am struggling with looping all schemas in Oracle. What I need to achieve is as shown below

  1. Create connection
  2. Use the existing to fetch the schema tOracleInput2
  3. tJavaRow to assign variable
  4. tFlowToIterate for Iterations
  5. Alter session based on schema fetched at step 2 using tOracleRow_1
  6. Now i need to execute query and generate certain output and that will require one or more steps

But the issue is, that it will iterate till step 5 and when all the iterations are done, it moves to step 6. I want to add step 6 and more in the iterations so that it will run for 1 schema at a time.


回答1:


To make tOracleInput_1 part of the loop, you need to use OnComponentOk trigger like this :



来源:https://stackoverflow.com/questions/34491641/loop-through-all-schemas-in-talend

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!