Why might COPY_HISTORY not include some files loaded via Snowpipe?

Master Snowflake Data Engineer Exam. Study with flashcards and multiple choice questions, each question includes hints and explanations. Prepare for your success!

Multiple Choice

Why might COPY_HISTORY not include some files loaded via Snowpipe?

Explanation:
COPY_HISTORY only logs COPY INTO operations that complete successfully. When Snowpipe attempts to load a file but the copy process is aborted or cannot be completed, that specific load never finishes, so there’s no completed COPY INTO entry to record. In other words, a file loaded via Snowpipe might not appear in COPY_HISTORY if its load was started but never completed. The history does reflect completed copies, including those driven by Snowpipe, but it does not include attempts that fail to finish.

COPY_HISTORY only logs COPY INTO operations that complete successfully. When Snowpipe attempts to load a file but the copy process is aborted or cannot be completed, that specific load never finishes, so there’s no completed COPY INTO entry to record. In other words, a file loaded via Snowpipe might not appear in COPY_HISTORY if its load was started but never completed. The history does reflect completed copies, including those driven by Snowpipe, but it does not include attempts that fail to finish.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy