[NO ISSUE][RT] Window operator runtime optimization
- user model changes: yes
- storage format changes: no
- interface changes: no
Details:
- Improve memory management for window operators
- Add "compiler.windowmemory" property that specifies memory
budget for each window operator (default is 4MB, min is 160KB)
- Consolidated negative window operator testcases into a single one
Change-Id: I6756e92046883f79db339ef490cca8bc8b7b1fb8
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3227
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml
index d368b45..c905e0c 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml
@@ -9278,13 +9278,6 @@
</compilation-unit>
</test-case>
<test-case FilePath="window">
- <compilation-unit name="ntile_02">
- <output-dir compare="Text">ntile_01</output-dir>
- <expected-error>ASX0002: Type mismatch</expected-error>
- <source-location>false</source-location>
- </compilation-unit>
- </test-case>
- <test-case FilePath="window">
<compilation-unit name="percent_rank_01">
<output-dir compare="Text">percent_rank_01</output-dir>
</compilation-unit>
@@ -9305,14 +9298,17 @@
</compilation-unit>
</test-case>
<test-case FilePath="window">
- <compilation-unit name="ratio_to_report_02_negative">
- <output-dir compare="Text">ratio_to_report_01</output-dir>
- <expected-error>ASX1101: Unexpected ORDER BY clause in window expression</expected-error>
+ <compilation-unit name="row_number_01">
+ <output-dir compare="Text">row_number_01</output-dir>
</compilation-unit>
</test-case>
<test-case FilePath="window">
- <compilation-unit name="row_number_01">
- <output-dir compare="Text">row_number_01</output-dir>
+ <compilation-unit name="win_negative">
+ <output-dir compare="Text">misc_01</output-dir>
+ <expected-error>ASX0002: Type mismatch</expected-error>
+ <expected-error>ASX1101: Unexpected ORDER BY clause in window expression</expected-error>
+ <expected-error>ASX1037: Invalid query parameter compiler.windowmemory</expected-error>
+ <source-location>false</source-location>
</compilation-unit>
</test-case>
<test-case FilePath="window">