Reputation: 485
I have data staged in azure blob storage. According to snowflake documentation, I am confused, whether I should use create task feature of snowflake with below sql query :
copy into table_name from azure_stage_name file format = xyz
Or should I use snowpipe
Upvotes: 2
Views: 1374
Reputation: 10154
Do you need to trigger data ingestion when a new file arrives? In this case, Snowpipe would be the right choice.
If you want to ingest the files on a fixed frequency such as daily/hourly etc, then a task would be enough.
If this is a one-time data load, then you can directly run the COPY command.
Upvotes: 3
Reputation: 332
Copy INTO is probably easier and more flexible than auto-ingest.
Upvotes: -1