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

Complete the implementation of GeoMatchExpression::equivalent()

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.1.5
    • 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

        Issue Links

          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: