code: @Override
    public void reset() {
      insertIds.clear();
      updateCounts.clear();
      insertIdNumber = 0;
      hasException = false;
      rewritten = false;
    }
docs: Clear error state, used for clear exception after first batch query, when fall back to
  per-query execution.