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

Ensure expression arguments checks semantics are the same between classic and SBE engines

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution 2021-02-22, Query Execution 2021-03-08, Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-04-19, Query Execution 2021-05-03

      In a CR forĀ SERVER-51666 it was pointed out that there could be some inconsistencies between how expression argument checks are done in the classic in SBE engines. For example, in the classic engine some expressions may follow all-checks-per-argument rule (by applying all checks on one arguments before moving to the next one), whilst in SBE the same expression may follow one-check-for-all-arguments rule (when we apply a specific check for all arguments before moving to the next type of check, for example check all arguments for null, and then validate the range). We should keep this behaviour consistent between the two engines and will need to investigate and find all expressions in SBE which check arguments differently than their counterparts in the classic engine and address such inconsistencies.

            Assignee:
            andrii.dobroshynski@mongodb.com Andrii Dobroshynski (Inactive)
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: