Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Full SQL Pushdown for Delete on joined tables

$
0
0

Hi,

 

I'm trying to figure out how to have Data Services generate one sql statement that deletes records from a target table joined with a temporary staging table based upon id. I cant figure out how to do this? Right now i'm mapping all normal rows to deletes, but that is still trying to issue multiple deletes from in-memory. Here is my dataflow:

 

df.png

 

I really do not want to issue a manual SQL statement to accomplish this. Can anybody help? This optimized sql should look something like this:

 

DELETE FROM consumers USING oxxford_suppress WHERE oxxford_suppress.id = consumers.id;


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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