This is an automated email from the ASF dual-hosted git repository.
siddteotia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new aade773e6a add tests for LIMIT/OFFSET in QueryRunnerTest (#9496)
aade773e6a is described below
commit aade773e6af04a269a39ad37671d61f26aeaa074
Author: Almog Gavra <[email protected]>
AuthorDate: Fri Sep 30 18:28:41 2022 -0700
add tests for LIMIT/OFFSET in QueryRunnerTest (#9496)
---
.../src/test/java/org/apache/pinot/query/QueryTestSet.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/pinot-query-runtime/src/test/java/org/apache/pinot/query/QueryTestSet.java
b/pinot-query-runtime/src/test/java/org/apache/pinot/query/QueryTestSet.java
index 31d1670861..6540c9c515 100644
--- a/pinot-query-runtime/src/test/java/org/apache/pinot/query/QueryTestSet.java
+++ b/pinot-query-runtime/src/test/java/org/apache/pinot/query/QueryTestSet.java
@@ -30,6 +30,8 @@ public class QueryTestSet {
new Object[]{"SELECT * FROM b ORDER BY col1, col2 DESC LIMIT 3"},
new Object[]{"SELECT * FROM a ORDER BY col1, ts LIMIT 10"},
new Object[]{"SELECT * FROM a ORDER BY col1 LIMIT 20"},
+ new Object[]{"SELECT * FROM a ORDER BY col1, ts LIMIT 1, 2"},
+ new Object[]{"SELECT * FROM a ORDER BY col1, ts LIMIT 2 OFFSET 1"},
// No match filter
new Object[]{"SELECT * FROM b WHERE col3 < 0.5"},
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]