You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by si...@apache.org on 2022/10/01 01:28:49 UTC

[pinot] branch master updated: add tests for LIMIT/OFFSET in QueryRunnerTest (#9496)

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 <al...@gmail.com>
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: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org