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

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -