I wonder, is there any way to implement exist logic using PDI like in Query Script below
EXIST (SELECT a.product FROM store a, struck b WHERE b.product = a.product)
to check is the data exist in files (CSV)?
I know PDI has provide design tools like Table Exist
, File Exist
and Check if a column exist
but that tools only work in DB Table and File not data inside the File.
You can count the records in the file (or sql, or REST client, or,...) and filter only if it is not zero.