Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3370

library: refactor field_type and fields vectors into a more efficient data structure

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • schema.rs
    • None
    • 5
    • Iteration Wasabi, Iteration Xiaolongbao, Iteration Yuca

    Description

      when iterating over the input document we need to be checking whether an existing field already exist, and if it does update its field type. this requires two iterations over the 'fields' and 'field_type' vectors. this should be rewritten to be a more efficient data structure that would not require the double iteration and overwriting of an existing field_type struct.

      Attachments

        Activity

          People

            irina.shestak@mongodb.com Irina Shestak (Inactive)
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: