Sync on-prem CSV lines to Snowflake
Document/FileMarketingDatabase
What it does
When a new line appears in an on-prem CSV file, this automation inserts that row into Snowflake. The job then stops so the next batch can be processed cleanly.
Who it's for
Data and analytics teams who need to move on-prem data into Snowflake without manual uploads.
Apps used
How teams use this
Move daily CSV exports to the warehouse
Load new lines from an on-prem export file into Snowflake each day so analysts have fresh data without manual intervention. The team runs the automation on a schedule.
Sync legacy system records to cloud
Pull line-level data from an on-prem system into Snowflake so it can be joined with cloud data. The automation handles the transfer so the team does not need to export and upload.
Filter lines before inserting to Snowflake
Add a condition to check each line against a rule before inserting it into the table. Only rows that meet the condition are synced, keeping the warehouse clean and reducing storage.
How it works
- Detect a new line in CSV. A new line is added to an on-prem CSV file, and Onprem Files detects it to start this automation.
- Insert the row into Snowflake. Insert that line as a new row into the PUBLIC.DEMO_TABLE table in Snowflake so the data is available for queries.
- Stop the job. Stop the job after the row is inserted so the next batch of lines can be processed in the next run.