Refer to the exhibit. A data engineer notices that the copy activity sometimes copies 0 rows despite reading 1 million rows. What is the most likely cause?
An incremental load pattern uses a WHERE clause (e.g., WHERE LastModified > @{pipeline().parameters.lastRun}) that returns zero rows when no changes have occurred, resulting in 0 rows copied despite the source having 1 million rows.
Why this answer
In Azure Data Factory, the copy activity can be configured for incremental loads by using a source query with a WHERE clause that filters rows based on a watermark (e.g., last modified timestamp). On pipeline runs where no new or updated rows exist in the source table, this WHERE clause will return zero rows. Although the source table contains 1 million rows, the incremental filter causes the copy activity to read and write 0 rows.
This is the most likely cause of the described behavior.