This is an automated email from the ASF dual-hosted git repository.
gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 89860b7 Fix javadoc mistake in DefaultLimitSpec. (#10269)
89860b7 is described below
commit 89860b7d6a9114f43af08daa39ad0c9b945fa5cf
Author: Gian Merlino <[email protected]>
AuthorDate: Thu Aug 13 12:17:26 2020 -0700
Fix javadoc mistake in DefaultLimitSpec. (#10269)
Javadoc for getLimit should say it's a limit, not an offset.
---
.../java/org/apache/druid/query/groupby/orderby/DefaultLimitSpec.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/processing/src/main/java/org/apache/druid/query/groupby/orderby/DefaultLimitSpec.java
b/processing/src/main/java/org/apache/druid/query/groupby/orderby/DefaultLimitSpec.java
index 56ad4b8..da6fea6 100644
---
a/processing/src/main/java/org/apache/druid/query/groupby/orderby/DefaultLimitSpec.java
+++
b/processing/src/main/java/org/apache/druid/query/groupby/orderby/DefaultLimitSpec.java
@@ -150,7 +150,7 @@ public class DefaultLimitSpec implements LimitSpec
}
/**
- * Offset for this query; behaves like SQL "LIMIT". Will always be positive.
{@link Integer#MAX_VALUE} is used in
+ * Limit for this query; behaves like SQL "LIMIT". Will always be positive.
{@link Integer#MAX_VALUE} is used in
* situations where the user wants an effectively unlimited resultset.
*/
@JsonProperty
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]