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

Complete the implementation of GeoMatchExpression::equivalent()

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.5
    • None
    • Querying
    • Fully Compatible
    • Quint Iteration 5

    Description

      MatchExpression subclasses implement the equivalent() virtual method, which take another MatchExpression and return a boolean indicating whether the two expressions represent the same predicate.

      The implementation of GeoMatchExpression::equivalent() was never finished (see code here). This can make testing cumbersome, especially in the query planner unit tests as these tests use MatchExpression::equivalent() to verify that the planner is using the correct filters.

      Attachments

        Activity

          People

            qingyang.chen Qingyang Chen
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: