Class BatchReader.MockBatchReader

java.lang.Object
org.apache.drill.exec.store.parquet.columnreaders.BatchReader
org.apache.drill.exec.store.parquet.columnreaders.BatchReader.MockBatchReader
Enclosing class:
BatchReader

public static class BatchReader.MockBatchReader extends BatchReader
Strategy for reading mock records. Mock records appear to occur in the case in which the query has SELECT a, b, but the Parquet file has only c, d. A mock scan reads dummy columns for all records to ensure that the batch contains a record for each Parquet record, but with no data per record. (This explanation is reverse-engineered from the code and may be wrong. Caveat emptor!)
  • Constructor Details

    • MockBatchReader

      public MockBatchReader(ReadState readState)
  • Method Details