Fix typos in join optimizer comments

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Several comments in src/mongo/db/query/compiler/optimizer/join contain minor spelling or grammar typos. Fix these without changing behavior.

      Specific typos to fix:

      • catalog_stats.hStatisitics -> Statistics
      • join_cost_estimator.hEstiamte -> Estimate
      • join_cost_estimator_impl.cppneglible -> negligible
      • join_cost_estimator_impl.cpptruely -> truly
      • plan_enumerator_helpers.hStays constants -> Stays constant
      • plan_enumerator_helpers.hsatify -> satisfy
      • predicate_inferer.hclassses -> classes
      • predicate_inferer.hthe the STP -> the STP
      • predicate_extractor_test.cppAn expressions constains... -> An expression that contains...
      • predicate_extractor_test.cppconstains -> contains
      • reorder_joins.cpprety -> retry
      • reorder_joins.cppmaxRandomHintTries -> maxRandomHintRetries

      This should be a comment-only cleanup with no test behavior changes.

            Assignee:
            Aaron Schüttpelz
            Reporter:
            Max Verbinnen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: