Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68252

BSONColumnBuilder improvements

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-10-17

    Description

      To improve the flexibility of building BSONColumn binaries we should consider implementing the following:

      • Allow appending of BSONObj without needing to wrap in another BSONObj to be able to get a BSONElement. With BSONObj we already know the type (Object or Array) and the user should not have to copy everything just to put a type byte before in the memory layout.
      • Appending an EOO BSONElement should be treated as index skip. This is the representation BSONColumn (the decompressor) uses.
      • Support extracting a BSONColumn binary and allow continued appending to the BSONColumnBuilder. Systems that currently need to write out "interim" state need to start over building the BSONColumn from the beginning to add new data.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: