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

Refactor handling of missing values for Traverse paths

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • QI 2024-03-18, QI 2024-04-01, QI 2024-04-15, QI 2024-04-29, QI 2024-05-13, QI 2024-05-27, QI 2024-06-10, QI 2024-06-24, QI 2024-07-08, QI 2024-07-22, QI 2024-08-05, QI 2024-08-19, QI 2024-09-02, QI 2024-09-16, QI 2024-09-30

      In this PR https://github.com/10gen/mongo/pull/19328 which I hope to merge as-is, handling of array traversal is not correct. We end up inserting missing values when we should not.

      https://github.com/10gen/mongo/blob/117e4916e983b253bb32946e692ba2f72bab5ee6/src/mongo/bson/util/bsoncolumn_blockbased_test.cpp#L479-L510 

      We should update decompressGeneral() to simply omit "missing" array values for this case.

            Assignee:
            chris.wolff@mongodb.com Chris Wolff
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: