Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2888

Better encoding for dictionary code-words

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cfile, perf
    • None

    Description

      Currently we use bitshuffle for all ints, including dictionary codewords. For dictionary codewords, we know the maximum possible value up-front, and we also know that the ints will be non-negative and small. This set of constraints makes it much better to use a specialized bitpacking algorithm rather than a more generic compression like bitshuffle+lz4. Based on some quick experiments I ran, we can probably get a several-fold decoding speedup with no loss of compression by switching to a codec like simdbitpacking for these codewords.

      Attachments

        1. codec-test.py
          1 kB
          Todd Lipcon

        Activity

          People

            Unassigned Unassigned
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: