0

我是 PDI 的新手。我一直在尝试检索 ID 号并将其存储到 csv 文件中。但是我不断收到以下错误

kettledatabaseexception pentaho,无法关闭查询:结果集或准备好的语句

2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - 开始运行... 2015/06/01 16:36:58 - 选择 CDC.0 的值 - 开始运行... 2015 /06/01 16:36:58 - 文本文件 output.0 - 开始运行... 2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - 从流中读取查询参数 [选择值CDC] 2015/06/01 16:36:58 - 轨道:获取 CDC transactions.0 - 从步骤中读取 [为 CDC 选择值] 2015/06/01 16:36:58 - 选择 CDC.0 的值 - 得到行从上一步开始:[0] 2015/06/01 16:36:58 - CSV 文件 input.0 - 完成处理(I=2,O=0,R=0,W=1,U=0,E=0 ) 2015/06/01 16:36:58 - 为 CDC.0 选择值 - 将行写入下一步:[0] 2015/06/01 16:36:58 - 如果字段值为 null.0 - 发出“输出”信号done' 到 1 个输出行集。2015/06/01 16:36:58 - 如果字段值为空。0 - 完成处理 (I=0, O=0, R=1, W=1, U=0, E=0) 2015/06/01 16:36:58 - 为 CDC.0 选择值 - Signaling '输出done' 到 1 个输出行集。2015/06/01 16:36:58 - 选择 CDC.0 的值 - 完成处理(I=0,O=0,R=1,W=1,U=0,E=0)2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - 找到查询参数 = [0] 2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - SQL 查询:SELECT tb.* FROM gl_history tb哪里 tb.ptid > ?2015/06/01 16:36:58 - 文本文件 output.0 - 错误(版本 5.2.0.0,buildguy 从 2014-09-30_19-48-28 构建 1):意外错误 2015/06/01 16:36 :58 - 文本文件 output.0 - 错误(版本 5.2.0.0,buildguy 从 2014-09-30_19-48-28 构建 1):org.pentaho.di.core.exception.KettleStepException:2015/06/01 16 :36:58 - 文本文件 output.0 - 字段 [calc_amt] 不能' 在输入流中找不到!2015/06/01 16:36:58 - 文本文件 output.0 - 2015/06/01 16:36:58 - 文本文件 output.0 - 在 org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.processRow (TextFileOutput.java:139) 2015/06/01 16:36:58 - 文本文件 output.0 - 在 org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/06/01 16:36:58 - 文本文件 output.0 - 在 java.lang.Thread.run(Thread.java:722) 2015/06/01 16:36:58 - Orbit :Get CDC transactions.0 - 在放置时停止缓冲区上的行 2015/06/01 16:36:58 - 轨道 - 声明已取消!2015/06/01 16:36:58 - 轨道 - 声明取消!2015/06/01 16:36:58 - 轨道 - 声明取消!2015/06/01 16:36:58 - 轨道 - 声明取消!2015/06/01 16:36:58 - 替​​换 null .0 - 在缓冲区中放置一行时停止 2015/06/01 16:36:58 - 文本文件输出。0 - 关闭正常文件... 2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - 完成读取查询,关闭连接。2015/06/01 16:36:58 - 替​​换 null .0 - 完成处理 (I=0, O=0, R=6, W=5, U=0, E=0) 2015/06/01 16: 36:58 - 文本文件 output.0 - 完成处理 (I=0, O=1, R=1, W=0, U=0, E=1) 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history -转换检测到一个或多个有错误的步骤。2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 转型正在扼杀其他步骤!2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:CSV 文件输入 2015/06/01 16:36:58 - 轨道:获取 CDC 事务.0 - 错误(版本 5.2.0.0,从 2014 年构建 1 -09-30_19-48-28 by buildguy):关闭查询时出现意外错误:org.pentaho。di.core.exception.KettleDatabaseException:2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - 无法关闭查询:结果集或准备好的语句 2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - 已在此语句上调用取消。2015/06/01 16:36:58 - 轨道 - 与数据库的连接已关闭!2015/06/01 16:36:58 - 轨道:获取 CDC 事务。0 - 完成处理(I=50,O=0,R=1,W=48,U=0,E=1)2015/06/ 01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:如果字段值为空 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:选择 CDC 的值 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:轨道:获取 CDC 事务 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:替换空值 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:文本文件输出 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact.5.2.gl_history buildguy 从 2014-09-30_19-48-28 构建 1):检测到错误!2015/06/01 16:36:58 - 勺子 - 改造完成!!2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 错误(版本 5.2.0.0,buildguy 于 2014-09-30_19-48-28 构建 1):检测到错误!2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 错误(版本 5.2.0.0,buildguy 于 2014-09-30_19-48-28 构建 1):检测到错误!2015/06/01 16:36: 58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 转换检测到一个或多个有错误的步骤。2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 转型正在扼杀其他步骤!2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:CSV 文件输入 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:如果字段值为空 2015/06/01 16:36 :58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:为 CDC 选择值 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - 查看步骤:轨道:获取 CDC 事务 2015/06/01 16:36:58 - T_STG_ORBIT_serialize_generic_for_fact_gl_history - T_STG_ORBIT_serialize_generic_for_fact_gl_history步骤:替换 null 2015/06/01 16:36:

4

0 回答 0