PBT dotted paths over arrays

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dotted paths have rich semantics in MongoDB largely because of arrays. Our PBT models do not generate dotted paths over arrays. This is a gap in our testing infrastructure. The scope of this task is to generate dotted paths over arrays in the PBT models. This is follow-on work to prevent future bugs along the lines of SERVER-133164.

      In document_models.js and basic_models.js, getDocModel only generates arrays in the 'array' field. dottedFieldArb does not reference the 'array' field - it generates a length 2 tuple drawing from 'a', 'b', 't', 'm', '' - none of which are arrays.

            Assignee:
            Unassigned
            Reporter:
            Evan Bergeron
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: