@Override
  public boolean hasNext() {
    advance();
    return batch.size > 0;
  }
Iterator wrapper around Hive's VectorizedRowBatch producer (MRv1 implementing) record readers.
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/vector/HiveBatchIterator.java