@Override
  public void setBucketList(List list) {
    bucketList = list;
  }
Added to reset the state from the last execution. This is added for CQs only.
geode-core/src/main/java/org/apache/geode/cache/query/internal/QueryExecutionContext.java