Pentaho Kettle (PDI) table input step with field substitution running slower than using literal -
i'll go straight point. have table input step, reads records query includes clause, follows:
select * id, name, surname, creation_date users creation_date > ? if put literal (i.e. '2017-04-02t00:00:00.000z') in palce of question mark, step reads new values, thousands, in millis. if use field substitution , use incoming value, takes minutes.
do know why happening? know how solve issue?
thank time.
i found workaround, not solution particular issue, works: instead getting value previous step , use field substitution (? in query), read value in previous transformation in job, store in variables space, , read there using variable substitution ('${variable_name}' in query), works fast if value hardcoded.
Comments
Post a Comment