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

misleading error message printed when attempting to perform an unindexed sort on parallel arrays

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.0
    • None
    • Querying
    • None

    Description

      > c.drop()
      true
      > c.save(

      {a:[[],[]]}

      )
      > c.find().sort(

      {'a.0':1,'a.1':1}

      )
      error:

      { "$err" : "cannot index parallel arrays [1] [0]", "code" : 10088 }

      There are no indexes involved here - the text of the error message should be changed.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: