alex-plekhanov commented on code in PR #12758:
URL: https://github.com/apache/ignite/pull/12758#discussion_r2821109612
##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/MemoryQuotasIntegrationTest.java:
##########
@@ -377,6 +377,20 @@ public void testHashAggregateNode() {
IgniteException.class, "Query quota exceeded");
}
+ /** */
+ @Test
+ public void testMassiveSequentialCheck() {
+ sql("CREATE TABLE tbl2 (id INT, b VARBINARY) WITH
TEMPLATE=PARTITIONED");
+
+ for (int i = 0; i < 2000; i++)
+ sql("INSERT INTO tbl2 VALUES (?, ?)", i, new byte[1000]);
+
+ for (int i = 0; i < 1000; i++) {
+ assertThrows("SELECT ANY_VALUE(b) FROM tbl2 GROUP BY id",
+ IgniteException.class, "Query quota exceeded");
+ }
Review Comment:
Proposed change doesn't reproduce original problem and this case (single
query) is already covered by another tests. To reproduce problem much larger
amount of queries.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]