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

Add new LazyBinary SerDe for faster writes

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
    • None
    • 3.0.0
    • None

    Description

      LazyBinarySerDe.serialize() ends up making getCategory()/getPrimitiveCategory() calls for every column of every row. Tried some simple tests to eliminate these calls for the non-vectorized version, this looks like it speeds up the writes by ~3x.
      Adding a LazyBinarySerDe2 class with this new implementation.

      Attachments

        1. HIVE-17611.1.patch
          60 kB
          Jason Dere

        Activity

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

          People

            jdere Jason Dere Assign to me
            jdere Jason Dere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment