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

Avoid fixing protocol events when there is not required field missing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None

    Description

      Currently, due to the projection pushdown, in the ThriftRecordConverter, it will check if there is any protocol events missing for the required fields and fix them if there is. This happens for all the records.

      The fixing of missing protocol can be done in a more precise condition to improve performance:

      Only when the requested schema missing some required fields that are present in the full schema
      So even if there a projection, as long as the projection is not getting rid of the required field, the protocol events amender will not be called.

      https://github.com/apache/incubator-parquet-mr/pull/28

      Attachments

        Activity

          People

            tianshuo Tim
            tianshuo Tim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: