Pentaho 厨房导出问题:空过滤器真/假标签
我使用Pentaho数据集成6.1.0.1-196。我运行有作业导出的.bat:Pentaho 厨房导出问题:空过滤器真/假标签,pentaho,kettle,pentaho-data-integration,Pentaho,Kettle,Pentaho Data Integration,我使用Pentaho数据集成6.1.0.1-196。我运行有作业导出的.bat: 调用kitchen.bat/rep:“%rep\u NAME%”/job:“%2”/dir:“%1”/user:%user\u NAME%/pass:%PASSWORD%/export:“%job\u FILE%” 所以我得到了我的工作的xml文件,其中有这样一个问题: <type>JavaFilter</type> <description/> <
调用kitchen.bat/rep:“%rep\u NAME%”/job:“%2”/dir:“%1”/user:%user\u NAME%/pass:%PASSWORD%/export:“%job\u FILE%”
所以我得到了我的工作的xml文件,其中有这样一个问题:
<type>JavaFilter</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<send_true_to/>
<send_false_to/>
JavaFilter
Y
1.
没有一个
问题是标记“send\u true\u to/”和“send\u false\u to/”是空的!
当我通过.bat运行这个作业文件时,Javafilter不能正常工作
同时,这项工作在勺子界面工作的理想。
如果我通过spoon Interbase导出此作业,它看起来是正确的:
<type>JavaFilter</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<send_true_to>Write to log 2</send_true_to>
<send_false_to>Write to log 3</send_false_to>
JavaFilter
Y
1.
没有一个
写入日志2
写入日志3
我试过其他类型的过滤器吗?以管理员身份运行.bat-结果相同
请帮助我正确地通过.bat文件导出作业。
问题出在哪里?这是您正在使用的PDI版本中的一个错误: -KTR with Filter Rows步骤从存储库导出到XML时不保存真/假设置 您需要升级到7.0+或降级到6.0.1.0。 根据Jira罚单,它始于6.0.1.2
一个解决方法是安装一个专门用于导出批次的6.0.1.0副本。这将最大限度地降低不兼容内容被导出的风险,并让您保留现有版本以运行作业。非常感谢,@Cyrus