Commit Graph

91 Commits

Author SHA1 Message Date
David Percy
40baa93ce7 SERVER-71387 Add missing typecheck for range-based window 2023-01-06 01:22:50 +00:00
Romans Kasperovics
5324ef1fab SERVER-70042 Assign expected / actual semantics to assert.docEq() arguments 2022-12-20 11:59:17 +00:00
Nicholas Zolnierz
45ab51e980 SERVER-71572 Fix typo in window functions test over timeseries collection 2022-11-30 17:47:42 +00:00
Reo Kimura
0d12c83b9b SERVER-69926 errorcodes.py doesn't detect duplicate errors in MONGO_UNREACHABLE_TASSERT 2022-10-13 22:22:10 +00:00
Alexander Neben
83e32d1f56 SERVER-69672 Reenabled debug mode variant 2022-10-03 18:44:58 +00:00
Uladzimir Makouski
643d02696d Revert "SERVER-69672 Disable remaining failing debug mode tests"
This reverts commit b057a5eee2.
2022-10-03 08:35:11 +00:00
Alexander Neben
b057a5eee2 SERVER-69672 Disable remaining failing debug mode tests 2022-09-30 16:21:23 +00:00
galon1
4f0c417801 SERVER-63811 Add check to allow documents stage to run without a database existing 2022-09-20 22:51:06 +00:00
galon1
5135c8e1b6 SERVER-62071 Add useDisk call to preserve intermediate pipeline values 2022-09-13 20:04:00 +00:00
madelineze
1a94ea9b9a SERVER-67584 Remove featureFlagLocf 2022-08-10 18:33:24 +00:00
Nikita Lapkov
b4ce104d4e SERVER-61281 Use memoization for Document::getApproximateSize 2022-08-10 11:45:11 +00:00
Kyle Suarez
a36fb0fc2f Revert "SERVER-61281 Use memoization for Document::getApproximateSize"
This reverts commit 112b848ead.
2022-08-03 22:22:47 +00:00
Nikita Lapkov
112b848ead SERVER-61281 Use memoization for Document::getApproximateSize 2022-07-28 16:27:03 +00:00
Zahra Poonevala
9e61e92be3 SERVER-67585: first changes 2022-07-13 23:09:02 +00:00
Romans Kasperovics
f285f0af3d SERVER-63208 Make allowDiskUse opt-out rather than opt-in 2022-04-12 22:54:31 +00:00
Joel Redman
44682e01ff SERVER-60899 Add time expressions and window functions to V1 2022-03-28 17:20:28 +00:00
Charlie Swanson
c01b04e5ec SERVER-63793 Add test demonstrating behavior of $setWindowField's 'output' parameter 2022-02-18 14:53:34 +00:00
Nicholas Zolnierz
3688d67613 SERVER-63079 Avoid using projection parser in $setWindowFields execution 2022-02-01 14:25:47 +00:00
Nicholas Zolnierz
b02796c77b SERVER-62322 Allow an empty object to be projected in $setWindowFields 2022-01-21 20:55:07 +00:00
auto-revert-processor
2ea6389bf7 Revert "SERVER-62322 Allow an empty object to be projected in $setWindowFields"
This reverts commit 2dac329484.
2022-01-21 07:16:02 +00:00
Nicholas Zolnierz
2dac329484 SERVER-62322 Allow an empty object to be projected in $setWindowFields 2022-01-20 13:59:25 +00:00
Maddie Zechar
4313a0ff6d SERVER-62019: Remove flag guard from linearFill 2022-01-04 19:52:51 +00:00
Ted Tuckman
4b4d4f729e SERVER-59772 Enable setWindowFields in transactions and with read concern snapshot 2021-12-15 19:52:11 +00:00
Maddie Zechar
5704a4c1a9 SERVER-60500: Implement linear interpolation window function 2021-12-07 19:36:54 +00:00
Ted Tuckman
1fd380d06a SERVER-61807 Remove flag guard from $locf 2021-12-03 20:58:40 +00:00
Mickey. J Winters
af32ff175c SERVER-57886 add top/bottom/topN/bottomN operators as window functions 2021-12-03 17:43:11 +00:00
Mihai Andrei
cd115664da SERVER-52247 Enable feature flag for Exact top-n accumulator 2021-12-02 17:39:48 +00:00
Ted Tuckman
c574a00038 SERVER-60502 Add $fill stage 2021-11-15 12:49:41 +00:00
Mihai Andrei
32064f88ed SERVER-59133 Change 'output' parameter to 'input' in syntax for $firstN/$lastN/$minN/$maxN 2021-11-05 03:15:33 +00:00
Ted Tuckman
758a30de51 SERVER-60501 Add $locf accumulator 2021-11-03 01:29:35 +00:00
David Percy
8c36f85cd9 SERVER-60762 Error when partitionBy is a constant array 2021-10-22 17:54:39 +00:00
Benety Goh
f674422c74 SERVER-60623 remove time-series feature flag reference from aggregation test
Time-series collections are enabled by default, making this check unnecessary.
2021-10-22 16:13:39 +00:00
Nicholas Zolnierz
a8bb7e666a SERVER-56905 Ban API params to aggregate/find/etc shell helpers 2021-10-12 21:21:26 +00:00
Mihai Andrei
1938aee15e SERVER-57884 Implement $firstN/$lastN as window functions 2021-10-07 18:07:17 +00:00
Mihai Andrei
68922ea928 SERVER-58379 Extend REGISTER macros to support API version, FCV, and conditional checks for accumulators, expressions, and window functions 2021-09-15 03:30:23 +00:00
Uladzimir Makouski
c42a89a1f0 Revert "SERVER-58379 Extend REGISTER macros to support API version, FCV, and conditional checks for accumulators, expressions, and window functions"
This reverts commit 15c51de0d4.
2021-09-14 06:34:50 +00:00
Mihai Andrei
15c51de0d4 SERVER-58379 Extend REGISTER macros to support API version, FCV, and conditional checks for accumulators, expressions, and window functions 2021-09-13 23:55:08 +00:00
Mihai Andrei
ddbc84d44d SERVER-57885 Implement $minN and $maxN as window functions 2021-08-23 20:17:21 +00:00
Jon Streets
05a0f8e98b SERVER-56366 Update FCV constants to recognize 5.1 as latest 2021-07-23 15:49:23 +00:00
Jacob Evans
803a3be9e6 SERVER-57629 Change $integral&$derivative args 2021-06-25 21:28:42 +00:00
Joel Redman
c258e6f293 SERVER-56950: Test all reasonable combinations of window function, window type, sort scheme, and partition scheme 2021-06-11 19:22:22 +00:00
Sebastien Mendez
1dbdd89ea2 SERVER-56497 Add assert.throwsCode shell helper for testing 2021-06-11 12:54:42 +00:00
Maddie Zechar
3d4e1c0aa3 SERVER-56849: Improve error reporting for $setWindowFields 2021-06-07 17:19:04 +00:00
Ted Tuckman
93dae17209 SERVER-57386 Clear values vector in WindowFunctionExec on reset 2021-06-04 18:28:07 +00:00
samontea
37767309fa SERVER-56449 Allow $derivative and $integral to use descending sortBy (document windows) 2021-06-03 14:46:23 +00:00
Nick Zolnierz
8ae3c7b68d SERVER-56197 Remove feature flag for window functions 2021-06-01 14:50:37 +00:00
Nick Zolnierz
52501e767b SERVER-57148 Pass variables states to input evaluation in removable range executor 2021-05-24 16:39:07 +00:00
Ted Tuckman
b43ec74870 SERVER-57024 Fix SpillableCache writes to disk across getMore requests 2021-05-19 19:11:02 +00:00
Nick Zolnierz
be41c9d532 SERVER-55786 Update PartitionIterator memory usage when documents are released
This commit also handles the inflation of Documents as expressions are
evaluated due to the internal caching in the Document class.
2021-05-19 12:30:27 +00:00
David Percy
01f296f4a6 SERVER-55464 Optimize pipelines with $sort after $setWindowFields 2021-05-17 01:28:49 +00:00