Disallow dotted metaField when parsing $_internalUnpackBucket

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Query Optimization 2021-04-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The metaField is not intended to be an arbitrary path. We should uassert in the $_internalUnpackBucket parser if the user-specified metaField is a dotted path, and we should add a test to verify this behavior in document_source_internal_unpack_bucket_test/unpack_bucket_exec_test.cpp

            Assignee:
            Hana Pearlman
            Reporter:
            Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: