code: @Override
    public boolean shouldCreateWorkunit(Partition sourcePartition, LongWatermark lowWatermark) {
      // If a whitelist is provided only create workunits for those partitions
      if (!this.partitionsWhitelist.isEmpty()) {
        return this.partitionsWhitelist.contains(sourcePartition.getCompleteName());
      }
      // If no whitelist is set, all partitions of a dataset are backfilled
      return true;
    }
docs: Partitioned tables