-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
QO 2025-02-17
The query-correctness-tests (1, 2, 3, 4) encountered an issue with a malformed query that was uncovered during the implementation of SERVER-99569.
Below are some examples of the issues found, it's best to look at the evergreen logs for each individual failure.
Issue 1:
query-correctness-tests-1/generated_tests/lemur-1771702139027/good1-8.1
The problem occurs because a variable in the $fill stage is both defined and referenced within the $let clause, which violates the rule that any variable used inside a $let must be defined outside of it.
Issue 2:
query-correctness-tests-1/generated_tests/shag-1771702139034/good1-8.1
Expression $eq takes exactly 2 arguments. 1 were passed in.
- related to
-
SERVER-99569 $fill does not validate "partitionBy" expression in all cases
-
- In Code Review
-