Skip to main content
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
ramarao-kavuri
Contributor
Contributor

Can we lookup target table in filter pass through

Can we lookup target table in filter pass through

Labels (1)
1 Solution

Accepted Solutions
Michael_Litz
Support
Support

Hi @ramarao-kavuri 

No you can not do a lookup into a target table when using the pass through filter as that is applied only to the source.

Thanks,
Michael

View solution in original post

2 Replies
Michael_Litz
Support
Support

Hi @ramarao-kavuri 

No you can not do a lookup into a target table when using the pass through filter as that is applied only to the source.

Thanks,
Michael

Heinvandenheuvel
Specialist III
Specialist III

Passthru queries are literally just 'passed thru', to be executed as SQL on the source DB and they do NOT have access to the target DB. However any row returned will be subject to whatever transformation rules defined within Replicate including target_lookup.

Using just Replicate you cannot stop a source row from being processed by Replicate based on a target value, but you can stop it from being forwarded to the target.

Maybe you can use a DBLINK or other inter-database connection on the source DB itself to become part of the record selection expression in the source passthru query string? Then you could use target data in the source selection. Or maybe you can move (using replicate?) a target table from the target to the source just before full-load to help define which rows should, or should not be (re)loaded.

Hein.