Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7428

OrcSplit fails to account for columnar projections in its size estimates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.0, 1.3.0, 2.0.0
    • None
    • None
    • None
    • Estimate columnar projection when generating ORC splits

    Description

      Currently, ORC generates splits based on stripe offset + stripe length.

      This means that the splits for all columnar projections are exactly the same size, despite reading the footer which gives the estimated sizes for each column.

      This is a hold-out from FileSplit which uses getLen() as the I/O cost of reading a file in a map-task.

      RCFile didn't have a footer with column statistics information, but for ORC this would be extremely useful to reduce task overheads when processing extremely wide tables with highly selective column projections.

      Attachments

        1. HIVE-7428.1.patch
          7 kB
          Prasanth Jayachandran
        2. HIVE-7428.2.patch
          8 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: