Add BSONColumnBuilder fill constructor for skips

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-02-19, Storage Execution 2025-03-17, Storage Execution 2025-03-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a user inserts a measurement into a time-series collection that contains a field that does not exist for prior measurements, the compression code needs to create a new BSONColumnBuilder to represent the new data field. If there are already dozens or hundreds of measurements in the bucket, there will need to be dozens or hundreds of skips initialized in the new column.

      This API improves performance by not calling append() each time and checking if RLE is possible. Instead, it will set each RLE block directly and any other state required without calling append().

      Proposed shape of the API:

      BSONColumnBuilder(size_t numPrefixSkips); // fill ctor
      

              Assignee:
              Binh Vo
              Reporter:
              Matt Kneiser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: