Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2109

Parquet Cpp Reader Can Loop Forever If Page Values Overstated

    XMLWordPrintableJSON

Details

    Description

      If the page header states that there are more values than are actually present in the page, the Parquet CPP can loop forever.  This is because HasNext() will return true but the actual ReadBatch() will have nothing to read and will not change reader state, causing an infinite loop. We first noticed the bug via ScanFileContents(), but this impacts any code that does not check to see if ReadBatch() consumed anything.

      Attachments

        Issue Links

          Activity

            People

              willb_google William Butler
              willb_google William Butler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m