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

Avoid unnecessary serialization and deserialization of bitvectors

    XMLWordPrintableJSON

    Details

      Description

      In the method getNdvEstimator of <datatype>ColumnStatsDataInspector, it will call isSetBitVectors(), in which it serializes the bitvectors again when we already have deserialized bitvectors ndvEstimator. For example, we can see this pattern from LongColumnStatsDataInspector.

      This method could check if the ndvEstimator is set first so that it won't need to serialize and deserialize back.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hsnusonic Yu-Wen Lai
                Reporter:
                hsnusonic Yu-Wen Lai
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m