Driver driver = driverFactory.createDriver(driverContext);
if (partitionedSplit != null) {
// TableScanOperator requires partitioned split to be added before task is started
driver.updateSource(new TaskSource(partitionedSourceId, ImmutableSet.of(partitionedSplit), true));
}
// record driver so other threads add unpartitioned sources can see the driver
// NOTE: this MUST be done before reading unpartitionedSources, so we see a consistent view of the unpartitioned sources
drivers.add(new WeakReference<>(driver));