ExitData Partitioning: parallel batch reads and writes1 / 9
Explanation

Separate the batch boundary from the read splits

How source-read boundaries, execution partitions, and persisted output partitions interact when configuring balanced, bounded, retry-safe batch ingestion. · associate

A batch ingestion job has three different kinds of partitioning. Source-read partitions divide the input among readers. Execution partitions divide work among processing tasks. Persisted output partitions organize the stored result. Their counts do not have to match, and changing one does not automatically change the others.

First define a bounded batch: exactly which records this run should ingest. For example, use an explicit predicate such as updated_at >= start AND updated_at < end. Adjacent half-open windows share a boundary without including that boundary twice. This prevents boundary overlap, but does not by itself handle records that arrive late or change during extraction.

Then divide that batch into independent reads. Connector semantics matter: with Spark JDBC, lowerBound and upperBound determine the partition stride, not a filter that excludes rows outside those bounds. Apply the batch predicate separately rather than assuming those settings limit the data selected.

LayerControlsDoes not guarantee
Source readsInput split among readersConsistent snapshot
ExecutionWork split among tasksStored directory layout
Persisted outputRecords grouped in storageOne file per group