Vladsz83 commented on code in PR #11471:
URL: https://github.com/apache/ignite/pull/11471#discussion_r1713963660


##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/LimitOffsetIntegrationTest.java:
##########
@@ -88,6 +88,16 @@ public class LimitOffsetIntegrationTest extends 
AbstractBasicIntegrationTest {
                     .setSqlSchema("PUBLIC"));
     }
 
+    /** */
+    @Test
+    public void testNestedLimitOffsetWithUnion() {
+        sql("INSERT into TEST_REPL VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 
'd')");
+
+        assertQuery("(SELECT id FROM TEST_REPL WHERE id = 2) UNION ALL " +

Review Comment:
   It is. It changes `bb.top` condition and the problem not appears.



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