Staging Upsert
The Staging Upsert step is used to map the Data Lake data to the staging or target database. It sets the identifier path and variation management properties from the data catalog. The staging upsert step evaluates each record against the identifier path in the staging or target database for existence. If the record does not exist, the record that is coming from Data Lake is inserted into the staging or target database. If the record does exist, the variation property is evaluated. If the incoming Data Lake record has a higher variation than the existing record, then the record in the on-premises database is updated with the newer Data Lake record. Otherwise the Data Lake record is ignored.
Adding the output type StagingUpsert to your transformation: