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

Do ORC dictionary check at a finer level and preserve encoding across stripes

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • None
    • None

    Description

      Currently ORC dictionary check happens while writing the stripe. Just before writing stripe if ratio of dictionary entries to total non-null rows is greater than threshold then the dictionary is discarded. Also, the decision of using dictionary or not is preserved across stripes. This sometimes leads to costly insertion cost of O(logn) for each stripes when there are too many distinct keys.

      Attachments

        1. HIVE-7832.1.patch
          12 kB
          Prasanth Jayachandran
        2. HIVE-7832.2.patch
          12 kB
          Prasanth Jayachandran
        3. HIVE-7832.3.patch
          13 kB
          Prasanth Jayachandran
        4. HIVE-7832.4.patch
          25 kB
          Prasanth Jayachandran
        5. HIVE-7832.5.patch
          24 kB
          Prasanth Jayachandran
        6. HIVE-7832.6.patch
          23 kB
          Prasanth Jayachandran
        7. HIVE-7832.7.patch
          23 kB
          Prasanth Jayachandran
        8. HIVE-7832.8.patch
          23 kB
          Prasanth Jayachandran
        9. HIVE-7832.9.patch
          23 kB
          Prasanth Jayachandran

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            prasanth_j Prasanth Jayachandran Assign to me
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment