Replacing old data in a DLP table with the latest data
Consider the scenario where the data in a DLP table becomes obsolete every few hours and fresh data is loaded on a frequent basis. The following pipeline example with a series of Databricks - Execute Snaps each of which executes exactly one Databricks SQL statement can fulfill this requirement. Using this pipeline, we delete the existing table, create a new table with the same schema as the source file, and populate the latest values into this new table.
Important:
- Ensure that the DLP account used with these Snaps has the required permissions to perform the operations specified in the SQL statements.
- For the purposes of this demo, the SQL statements are presented as expressions that
use pipeline parameters -
test_schemaandtest_table. You can, alternatively, input them as plain strings.

Download this Pipeline.
- Download and import the pipeline into SnapLogic.
- Configure Snap accounts as applicable.
- Provide pipeline parameters as applicable.







