alex-plekhanov commented on code in PR #12758:
URL: https://github.com/apache/ignite/pull/12758#discussion_r2821104155


##########
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:
   IgniteSQLException - it's a root exception ("An error occurred while query 
executing - Remote query execution"), which contains IgniteException with text 
"Query quota exceeded" as cause. I've added error message from remote exception 
to the root exception.



-- 
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]

Reply via email to