遍历Talend中的所有架构 [英] Loop through all schemas in Talend
本文介绍了遍历Talend中的所有架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在努力循环使用Oracle中的所有架构. 我需要实现的如下所示
I am struggling with looping all schemas in Oracle. What I need to achieve is as shown below
- 创建连接
- 使用现有的获取架构tOracleInput2
- tJavaRow分配变量
- tFlowToIterate进行迭代
- 基于步骤2中使用tOracleRow_1提取的架构的会话更改
- 现在我需要执行查询并生成某些输出,这将需要一个或多个步骤
但是问题是,它将迭代到第5步,并且在完成所有迭代后,将移至第6步.我想在迭代中添加第6步或更多,以便它将在1个架构下运行时间.
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.
推荐答案
要使tOracleInput_1
成为循环的一部分,您需要使用OnComponentOk
触发器,如下所示:
To make tOracleInput_1
part of the loop, you need to use OnComponentOk
trigger like this :
这篇关于遍历Talend中的所有架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文