etl - Sparse lookup for tracking used records -


i have scenario have claim application table , application claimant table. need sparse application claimant id application claimant table using ssn key. problem there multiple application claimant ids same ssn. pull ones not used in claim_application table. using sparse below query.

select ssn, claim_application_claimant_id   claim_application_claimant   orchestrate.claim_application_claimant_id not in (      select claim_application_claimant_id       claim_application ) 

but when going map key expression in lookup stage, throwing below error.

key expression cannot set on key columns of link.the connected stage defines key lookup

what issue here?

i baffled please explore these options.

  1. in nested query add distinct clause , clause equate ssn between both tables

  2. try alternate approach involving use of joins.

  3. try using sql minus operator if columns equal in number


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -