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

Grammar rejects dotted-path find filters

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Optimization
    • ALL
    • Query 2020-10-05

    Description

      Currently, with CST Parsing enabled, we can't parse dotted-path fieldnames for find filters.

      db.example.find( {"a.b": 1} )
      Error: error: {
      	"ok" : 0,
      	"errmsg" : "syntax error, unexpected fieldname containing dotted path at element 'a.b' of input filter",
      	"code" : 9,
      	"codeName" : "FailedToParse"
      }
      

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: