Skip queries with $NOW or $CLUSTER_TIME in query settings fallback tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Refactor handling of unsupported keywords in query settings fallback

      This change extracts the logic for detecting unsupported keywords (like `$NOW` and `$CLUSTER_TIME`) into a separate function `containsUnsupportedKeywords()` and moves the check from `assertQuerySettingsFallback()` to the command override function. This ensures that queries containing these keywords are consistently skipped earlier in the process, as these keywords evaluate to different values at different times, making plan comparisons unreliable.

            Assignee:
            Catalin Sumanaru
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: