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

Make constant folding optimization throw a special kind of error

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Query Planning
    • None
    • Fully Compatible
    • QO 2021-09-06, QO 2021-09-20, QO 2021-10-04, QO 2021-10-18, QO 2021-11-01, QO 2021-11-15, QO 2021-11-29, QO 2021-12-13, QO 2021-12-27, QO 2022-01-10, QO 2022-01-24

      It is hard to distinguish in fuzzer tests if the test fails due to constant folding optimization. If the part of the query is not reachable on the certain dataset, it is not failing without optimization. This task to introduce a special error code for constant folding failures and create a special check in fuzzer tests to handle it.

            Assignee:
            ruslan.abdulkhalikov@mongodb.com Ruslan Abdulkhalikov (Inactive)
            Reporter:
            ruslan.abdulkhalikov@mongodb.com Ruslan Abdulkhalikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: