Home › Interview Questions › What parameter would you specify to check only for…

What parameter would you specify to check only for the last incremental load, and what incremental strategies have you worked on to efficiently update a table with 1 billion rows?

🔴 Hard Conceptual Senior level
1Times asked
Nov 2026Last seen
Nov 2026First seen

💡 Model Answer

I would use a watermark column (e.g., last_modified timestamp) and store the maximum value processed in a metadata table. The incremental job would filter rows where last_modified > watermark. For a 1 billion row table, I would partition the data by date or hash, use parallel readers, and apply change data capture (CDC) to capture only changed rows. I would also use a delta table or partitioned merge to apply updates in bulk, leveraging vectorized execution in Spark or Flink. Indexes on the key columns and careful use of batch size (e.g., 10k rows per batch) help keep the operation efficient. This approach reduces the amount of data processed each run and keeps the pipeline scalable.

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers on a discreet on-screen overlay.

Get Assisting AI — Starts at ₹500