sql - Pentaho CDE parameterized queries on Impala -
sql - Pentaho CDE parameterized queries on Impala -
i trying execute on impala parameterized query pentaho (version 5.0.6) cde using ${parameter_name} notation. found out if remove parameter , hard-code value in sql query, works fine, if set parameter, stops working generic error message "error processing component" (i using table component of cde show values). in pentahobaserver-stdout log file found next exception:
jun 24, 2014 3:01:08 pm com.sun.jersey.spi.container.containerresponse mapmappablecontainerexception severe: exception contained within mappablecontainerexception not mapped response, re-throwing http container java.lang.nosuchmethoderror: org.pentaho.reporting.engine.classic.core.reportdatafactoryexception.getparentthrowable()ljava/lang/throwable;
which seems generic error message (caused bug http://jira.pentaho.com/browse/cda-79)
after more investigation on web, think bumped this problem. cannot avoid neither utilize of parameters, nor utilize of pentaho nor utilize of impala, thus, stuck. there workaround problem?
thank in advance :)
not really. jdbc driver impala not back upwards parameters in preparedstatements used in reporting libraries.
it's hard 1 solve. best way workaround utilize kettle transformation dynamically builds queries , issues them impala.
that way, parameter handling done @ kettle level, impala static query.
sql hadoop pentaho impala pentaho-cde
Comments
Post a Comment