alamb commented on code in PR #26161:
URL: https://github.com/apache/datafusion/pull/26161#discussion_r4232785672


##########
datafusion/sqllogictest/test_files/limit.slt:
##########
@@ -1094,3 +1094,30 @@ physical_plan
 
 statement ok
 DROP TABLE t22489;
+
+
+statement ok
+set datafusion.execution.target_partitions = 4;
+
+statement ok
+CREATE TABLE src (a INT, b INT) AS VALUES (1, 3), (2, 1), (3, 2), (4, 3), (5, 
1), (6, 2), (7, 3), (8, 1);
+
+statement ok
+CREATE TABLE t AS SELECT a, b FROM src UNION ALL SELECT a + 10, b FROM src
+  UNION ALL SELECT a + 20, b FROM src UNION ALL SELECT a + 30, b FROM src;
+
+query II
+SELECT * FROM (SELECT a, b FROM t ORDER BY b OFFSET 20) ORDER BY b, a;
+----
+1 3
+4 3

Review Comment:
   note this test fails on main



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to