Commit Graph

77 Commits

Author SHA1 Message Date
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
Joel Redman
ffb78b55cf SERVER-54243 Desugar \$shift window function to \$first with a one doc window 2021-05-14 21:29:35 +00:00
Denis Grebennicov
11f57fd377 SERVER-56221 $dateAdd ignores startDate milliseconds 2021-05-14 09:06:06 +00:00
Nick Zolnierz
b28b53d238 SERVER-56685 Stricter parsing for $expMovingAvg, require an explicit 'sortBy' and 'alpha' between 0 and 1 2021-05-13 20:57:23 +00:00
Ted Tuckman
0fa77a1a54 SERVER-56430 Spill to disk in partition iterator 2021-05-12 15:39:32 +00:00
Katherine Wu
db4278cf34 SERVER-55820 Add testing for intersection of timeseries collections with window functions 2021-05-12 14:41:40 +00:00
David Percy
4e0fb93fa5 SERVER-56249 $derivative throws an error when sortBy value is an unexpected type 2021-05-05 03:14:08 +00:00
Ruoxin Xu
e6981fb1f4 SERVER-54246 $integral over time-based window 2021-05-04 20:38:27 +00:00
samontea
9fde6f9838 SERVER-55064 Add translation logic for $first/$last executor 2021-05-04 00:24:03 +00:00
Nick Zolnierz
acc1b058f0 SERVER-55789 Add explain metric for peak memory usage of $setWindowFields stage 2021-05-03 17:56:40 +00:00
Ruoxin Xu
6ca592cd08 SERVER-55588 Add translation logic for $integral executor 2021-05-01 12:32:38 +00:00
Nick Zolnierz
f36132ec21 SERVER-54664 Add per-function execution stats to $setWindowFields stage 2021-04-30 14:22:03 +00:00
Ruoxin Xu
b7a7adc096 SERVER-56327 Lower down max memory limit for test memory_limit.js 2021-04-30 12:08:46 +00:00
Joel Redman
fd131cf1a8 SERVER-54235 Desugar $count window function as {$sum : 1} 2021-04-30 03:39:06 +00:00
David Percy
78c15ec274 SERVER-54295 Support time-based window bounds in $setWindowFields 2021-04-21 23:00:01 +00:00