QuestionQ216

VerifiedDevelopment and Ingestion

A data engineer runs a statement every day to copy the previous day’s sales into the table transactions. Each day’s sales are in their own file in the location "/transactions/raw".

Today, the data engineer runs the following command to complete this task:

Question Image

After running the command today, the data engineer notices that the number of records in table transactions has not changed.

What explains why the statement might not have copied any new records into the table?

Explanation

COPY INTO is idempotent: it tracks which source files have already been loaded into the target Delta table and automatically skips them on subsequent runs, even if the command is re-executed. Since the row count did not change, the file expected for today had in fact already been ingested by a prior run, so there was no new file for COPY INTO to load. FORMAT_OPTIONS is unrelated to Parquet ingestion working correctly, no manual refresh is required to see committed Delta rows, and Parquet is fully supported by COPY INTO.

Community Discussion

No comments yet. Be the first to start the discussion!