PDI pentaho报告输出不适用于参数

时间:2018-09-19 06:25:28

标签: pentaho kettle pentaho-data-integration

我使用pentaho Data integrator 8.1和pentaho报告转换中的输出组件。该报告包含一个简单的整数参数$ {batchno},可以与报告设计器一起正常工作。但是,在运行PDI转换时,它无法替换报告中的参数值。这是我收到的详细错误消息。我的数据源是Mysql-JDBC连接。

2018/09/18 17:49:21-生成Reports.0-错误(版本8.1.0.0-365,由buildguy从2018-04-30 09.42.24生成8.1.0.0-365):意外错误< / p>

2018/09/18 17:49:21-生成Reports.0-错误(版本8.1.0.0-365,由buildguy于2018-04-30 09.42.24生成8.1.0.0-365):org.pentaho .di.core.exception.KettleException:

2018/09/18 17:49:21-生成Reports.0-发生意外的错误处理报告'D:..... \ testreport.prpt'以生成文件'D:... \ testreport .pdf”,处理器:PDF。

2018/09/18 17:49:21-生成Reports.0-查询失败:从pdi_channel_log中选择id_batch,object_name

其中id_batch = $ {batchno}

2018/09/18 17:49:21-生成Reports.0-

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processReport(PentahoReportingOutput.java:418)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processRow(PentahoReportingOutput.java:143)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)

2018/09/18 17:49:21-生成Reports.0-在java.lang.Thread.run(Thread.java:748)

2018/09/18 17:49:21-生成Reports.0-原因:org.pentaho.reporting.engine.classic.core.ReportDataFactoryException:查询失败:从pdi_channel_log中选择id_batch,object_name

其中id_batch = $ {batchno}

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:184)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:142)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStaticInternal(CompoundDataFactory.java:172)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:154)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryInternal(CachingDataFactory.java:408)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryStatic(CachingDataFactory.java:151)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStaticInternal(CompoundDataFactory.java:168)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:154)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:67)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQueryData(DefaultFlowController.java:256)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:192)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.states.process.ProcessState.initializeForMasterReport(ProcessState.java:318)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:442)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1433)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.di.trans.steps.pentahoreporting.ReportExportTask.execute(ReportExportTask.java:89)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.di.trans.steps.pentahoreporting.ReportExportTask.run(ReportExportTask.java:76)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processReport(PentahoReportingOutput.java:399)

2018/09/18 17:49:21-生成Reports.0-...还有3个

2018/09/18 17:49:21-生成Reports.0-原因:java.sql.SQLException:参数元数据不适用于给定语句

2018/09/18 17:49:21-生成Reports.0-com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)

2018/09/18 17:49:21-生成Reports.0-com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)

2018/09/18 17:49:21-生成Reports.0-com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)

2018/09/18 17:49:21-生成Reports.0-com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)

2018/09/18 17:49:21-生成Reports.0-在com.mysql.jdbc.MysqlParameterMetadata.checkAvailable(MysqlParameterMetadata.java:70)

2018/09/18 17:49:21-生成Reports.0-在com.mysql.jdbc.MysqlParameterMetadata.getParameterClassName(MysqlParameterMetadata.java:143)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.parametrize(SimpleSQLReportDataFactory.java:356)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.parametrizeAndQuery(SimpleSQLReportDataFactory.java:277)

2018/09/18 17:49:21-生成Reports.0-在org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:179)

2018/09/18 17:49:21-生成Reports.0-...还有19个

2018/09/18 17:49:21-生成Reports.0-子索引= 1,日志记录对象:org.pentaho.di.core.logging.LoggingObject@b66df16 parent = 1cfddaa4-866d-4b08-9efb- c2a8842102e1

2018/09/18 17:49:21-生成Reports.0-完成处理(I = 0,O = 0,R = 1,W = 0,U = 0,E = 1)

0 个答案:

没有答案