I believe the correct answer is A.
REFRESH is a parameter for ALTER PIPE
https://docs.snowflake.com/en/sql-reference/sql/alter-pipe.html
It is NOT a parameter for CREATE [OR REPLACE] Pipe.
https://docs.snowflake.com/en/sql-reference/sql/create-pipe.html
Further recreating a pipe resets history:
https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage.html#label-snowpipe-management-recreate-pipes
"Load History
The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped. In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently."
D
Snowflake clears the load history for the pipe.
Setting REFRESH = TRUE tells Snowflake to re-evaluate the staged files.
Snowpipe uses the new pipe definition and skips previously processed files,
Answer is A
The pipe load history is set to empty.
The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped.In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently.
The correct answer is D. All of the above.
When a Pipe is recreated using the CREATE OR REPLACE PIPE command:
The Pipe load history is reset to empty (A is true)
The REFRESH parameter is automatically set to TRUE (B is true)
Previously loaded files will be ignored (C is true)
Therefore, since all three statements (A, B, and C) are true, D "All of the above" is the correct answer. This is important to understand because recreating a pipe effectively gives you a fresh start - clearing history, refreshing the pipe, and ignoring previously processed files.
A. The Pipe load history is reset to empty
When you recreate a pipe using CREATE OR REPLACE PIPE, the load history for the pipe is reset, which means Snowflake will no longer have a record of the files that were previously processed by that pipe. This can affect how subsequent loads are handled, but the REFRESH parameter and handling of previously loaded files are not automatically impacted in the ways described by options B and C.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
jjordan
Highly Voted 3 years, 5 months agoVijaya15
Most Recent 4 weeks, 1 day agojeny12138
1 month, 3 weeks ago4762448
2 months agoPrasantSadangi
2 months, 1 week agoakomal
2 months, 1 week agoCartoffee
3 months agokentucky13caa
6 months, 2 weeks agojiriz
8 months agoVLMBL_94
10 months agoVLMBL_94
10 months agoAnithec0der
10 months, 2 weeks agoMallikharjuna452
10 months, 2 weeks agopranalig
11 months, 3 weeks agoPrashantGupta1616
12 months ago_yyukta
1 year, 3 months agoBobFar
1 year, 7 months agoMitchdu
5 months ago