Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Database lookup fails if Database Insert is running in the same transformation

$
0
0
PDI: 4.4.0-stable

I have a MySQL table (personids) that I update while running my transformation using Table Output. It has

person_id
person_index
customer_id

The table updates successfully. I can run view it using the MySQL shell to see the tuples that I wrote.

While the same transformation is running, I do subsequent Database Value lookups on the same table using the customer_id as the table field so I can extract the person_id.

The problem is that my Database lookup is failing to see that the personids table is already populated so I am not getting any valid person_id. If I stop the transformation and rerun it without deleting my personids table though, my lookup succeeds.

Any thoughts?
Thanks,
-phylanx

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>