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

Emitting arrays as ids in the map() function of the MR framework should not be allowed

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: MapReduce
    • Labels:
      None
    • Query Execution

      Array-ids don't make much sense there, and we build a unique index on them, which almost certainly won't work the way users think, as it indexes individual elements inside those arrays.

      I think we should explicitly disallow emitting arrays as ids in the map() function, and throw an error.

            Assignee:
            backlog-query-execution Backlog - Query Execution
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: