Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1201 Column indexes
  3. PARQUET-1364

Column Indexes: Invalid row indexes for pages starting with nulls

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The current implementation for writing managing row indexes for the pages is not reliable. There is a logic MessageColumnIO which caches null values and flush them just before opening a new group. This logic might cause starting pages with these cached nulls which are not correctly counted in the written rows so the rowIndexes are incorrect. It does not cause any issues if all the pages are read continuously put it is a huge problem for column index based filtering.
      The implementation described above is really complicated and would not like to redesign because of the mentioned issue. It is easier to simply count the 0 repetition levels as record boundaries at the column writer level.

      Attachments

        Issue Links

          Activity

            People

              gszadovszky Gabor Szadovszky
              gszadovszky Gabor Szadovszky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: