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

Complete the implementation of GeoMatchExpression::equivalent()

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.5
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Fully Compatible
    • Quint Iteration 5

      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.

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

              Created:
              Updated:
              Resolved: