public Page getNextPage()
            throws IOException
    {
        return getNextPage(this.appendRowNumber);
    }
@Test
    public void testGetNextPage_withoutRowNumbers()
            throws Exception
    {
        List<Type> types = ImmutableList.of(VARCHAR);
        List<List<?>> values = ImmutableList.of(ImmutableList.of("a", ""));

        TempFile tempFile = new TempFile();
        writeOrcColumnsPresto(tempFile.getFile(), ORC_12, NONE, Optional.empty(), types, values, NOOP_WRITER_STATS);

        OrcPredicate orcPredicate = createOrcPredicate(types, values, DWRF, false);
        Map<Integer, Type> includedColumns = IntStream.range(0, types.size())
                .boxed()
                .collect(toImmutableMap(Function.identity(), types::get));
        List<Integer> outputColumns = IntStream.range(0, types.size())
                .boxed()
                .collect(toImmutableList());
        OrcAggregatedMemoryContext systemMemoryUsage = new TestingHiveOrcAggregatedMemoryContext();
        try (OrcSelectiveRecordReader recordReader = createCustomOrcSelectiveRecordReader(
                tempFile.getFile(),
                ORC_12.getOrcEncoding(),
                orcPredicate,
                types,
                1,
                ImmutableMap.of(),
                ImmutableList.of(),
                ImmutableMap.of(),
                OrcTester.OrcReaderSettings.builder().build().getRequiredSubfields(),
                ImmutableMap.of(),
                ImmutableMap.of(),
                includedColumns,
                outputColumns,
                false,
                systemMemoryUsage,
                false)) {
            assertEquals(recordReader.getReaderPosition(), 0);
            assertEquals(recordReader.getFilePosition(), 0);

            Page page = recordReader.getNextPage();
            // One VARCHAR column, no row number column
            assertEquals(1, page.getChannelCount());
            Block block = page.getBlock(0);
            assertEquals(block.getPositionCount(), 1);
        }
    }