SpinTheMic
Pro

Interview practice question

COPY INTO loaded zero rows on rerun

Data Engineering · Snowflake · Beginner

You fixed a bad file in S3 and reran COPY INTO, but it says zero rows loaded. Why, and what do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Snowflake keeps load metadata for 64 days and skips files already loaded.
  • If the file name and checksum match a previous load, it's skipped.
  • A changed file with the same name may still be skipped depending on metadata.
  • Use FORCE = TRUE carefully, or upload the fixed file with a new name.
  • Check COPY_HISTORY to confirm what was loaded before.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics