Commit Graph

18 Commits

Author SHA1 Message Date
Zac
591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
Naafiyan Ahmed
e4e2df20ba Revert "SERVER-36635: Fix partial index results for $ne:null and $nin… (#36725)
GitOrigin-RevId: 6cc33bd32b869ea1043143382c23673a6620d611
2025-05-30 20:36:53 +00:00
Naafiyan Ahmed
5e5c84772e SERVER-36635: Fix partial index results for $ne:null and $nin: [null, ...] queries (#34391)
Co-authored-by: Militsa Sotirova <militsa.sotirova@mongodb.com>
Co-authored-by: Hana Pearlman <hana.pearlman@mongodb.com>
GitOrigin-RevId: 67dbbb65f062f749c969e3b13096a46636609a99
2025-04-10 15:32:21 +00:00
AlexVasilOne
6fdbf4c4b5 SERVER-95453 Audit query tests that use toArray() and itcount() and add “requires_getmore” tags (#30286)
GitOrigin-RevId: 8772071e736c10879452b83f669c58d8030d11f6
2024-12-27 12:42:24 +00:00
Damian Wasilewicz
7ba345ff2d SERVER-93818: Remove Unit and Integration Tests of Column Store Indexes (#26445)
GitOrigin-RevId: 98735c144c3b86ce1754dd61de69ee0b24d8c75e
2024-08-23 21:09:48 +00:00
HanaPearlman
2c808c0fd7 SERVER-81378: Make comparison to null via MatchExpression $eq and $in not match undefined (#19523)
[SERVER-81378](https://jira.mongodb.org/browse/SERVER-81378): Make
comparison to null via MatchExpression $eq and $in not match undefined.

Previously, queries like {a: {$eq: null}} matched documents including,
among others, {a: null} and {a: undefined}. This change makes it so that
comparison to null via MatchExpression $eq and $in does not match
documents like the latter. By extension, classic $lookup behavior is
also changed so that null local fields do not match undefined foreign
fields (this was already the case for $lookup executed in SBE). This
commit does not affect the behavior of agg expressions, which have their
own, different semantics for undefined values.

As a result of this change, index scan plans for comparison to null
queries can look different. For example, query {a: {$eq: null}} using
index {a: 1} will only have index bounds for the null interval, rather
than both the null and undefined intervals.

GitOrigin-RevId: 496fd240a87e96bb9a46db9be2610335a002d283
2024-03-05 23:02:49 +00:00
Hana Pearlman
95bfad66ea Revert "SERVER-81378: Make comparison to null via MatchExpression $eq and $in not match undefined. (#19254)"
This reverts commit 5998264155e7a83acf1d90aa277a5b9d912cb1f7.

GitOrigin-RevId: e1455a29a2b05056b92f16b0fa548f7d7d62ca78
2024-02-26 22:54:08 +00:00
HanaPearlman
1704949c0e SERVER-81378: Make comparison to null via MatchExpression $eq and $in not match undefined. (#19254)
[SERVER-81378](https://jira.mongodb.org/browse/SERVER-81378): Make
comparison to null via MatchExpression $eq and $in not match undefined.

Previously, queries like {a: {$eq: null}} matched documents including,
among others, {a: null} and {a: undefined}. This change makes it so that
comparison to null via MatchExpression $eq and $in does not match
documents like the latter. By extension, classic $lookup behavior is
also changed so that null local fields do not match undefined foreign
fields (this was already the case for $lookup executed in SBE). This
commit does not affect the behavior of agg expressions, which have their
own, different semantics for undefined values.

As a result of this change, index scan plans for comparison to null
queries can look different. For example, query {a: {$eq: null}} using
index {a: 1} will only have index bounds for the null interval, rather
than both the null and undefined intervals.

GitOrigin-RevId: 5998264155e7a83acf1d90aa277a5b9d912cb1f7
2024-02-23 23:25:36 +00:00
Uladzimir Makouski
228730775a Revert "SERVER-81378: Make equality to null not match undefined (#18042)"
This reverts commit c9d1c87a3c85d260b2b892e274ba374d39bc8f47.

GitOrigin-RevId: ca2eea296a6b33bcd834c09f30df71ab82fb9c9a
2024-02-23 11:41:30 +00:00
HanaPearlman
b01f10e4e6 SERVER-81378: Make equality to null not match undefined (#18042)
[SERVER-81378](https://jira.mongodb.org/browse/SERVER-81378): Make
comparison to null via MatchExpression $eq and $in not match undefined.

Previously, queries like {a: {$eq: null}} matched documents including,
among others, {a: null} and {a: undefined}. This change makes it so that
comparison to null via MatchExpression $eq and $in does not match
documents like the latter. By extension, $lookup behavior is also
changed so that null local fields do not match undefined foreign fields.
This commit does not affect the behavior of agg expressions, which have
their own, different semantics for undefined values.

As a result of this change, index scan plans for comparison to null
queries can look different. For example, query {a: {$eq: null}} using
index {a: 1} will only have index bounds for the null interval, rather
than both the null and undefined intervals.

GitOrigin-RevId: c9d1c87a3c85d260b2b892e274ba374d39bc8f47
2024-02-22 14:35:38 +00:00
Adityavardhan Agrawal
ecff541d45 SERVER-83685 Make "trySbeRestricted" the default query knob
GitOrigin-RevId: 106ed3b8ec5371e7c21f3936f1842cd4a458729f
2023-12-15 01:00:51 +00:00
Joseph Prince
d04dc10cac SERVER-82311 rename test tag
GitOrigin-RevId: 598fb15a21c0c4e53ef47a4b5c5dc6f5ae5fd5ed
2023-12-14 06:03:22 +00:00
Matt Broadstone
a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Matt Broadstone
1e98a0f23d SERVER-78551 Migrate analyze_plan library to module 2023-07-05 21:23:02 +00:00
Mihai Andrei
b185d04364 SERVER-71798 Expand the set of queries eligible for SBE in the 6.3 release 2023-02-07 02:32:02 +00:00
Dan Larkin-York
94098eff43 Revert "SERVER-71798 Expand the set of queries eligible for SBE in the 6.3 release" 2023-02-04 01:32:37 +00:00
Mihai Andrei
56616080c1 SERVER-71798 Expand the set of queries eligible for SBE in the 6.3 release 2023-02-03 19:52:33 +00:00
Gregory Noma
4be00f9aef SERVER-64473 Split up core jstest directory 2023-01-09 22:32:29 +00:00