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

Add new LazyBinary SerDe for faster writes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Labels:
      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

            People

            • Assignee:
              jdere Jason Dere
              Reporter:
              jdere Jason Dere
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: