Skip to content

Commit 1fa0e7c

Browse files
committed
typo
Signed-off-by: Lantao Jin <ltjin@amazon.com>
1 parent 987149c commit 1fa0e7c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

opensearch/src/main/java/org/opensearch/sql/opensearch/request/OpenSearchRequestBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ public void pushDownFilterForCalcite(QueryBuilder query) {
222222
* Push down aggregation to DSL request.
223223
*
224224
* @param builderAndParser pair of aggregation query and aggregation parser.
225-
* @param having indicates there is a HAVING after aggregation.
225+
* @param hasHavingClause indicates there is a HAVING clause after aggregation.
226226
*/
227227
public void pushDownAggregation(
228228
Pair<List<AggregationBuilder>, OpenSearchAggregationResponseParser> builderAndParser,
229-
boolean having) {
229+
boolean hasHavingClause) {
230230
builderAndParser.getLeft().forEach(sourceBuilder::aggregation);
231231
sourceBuilder.size(0);
232-
this.paginatingAgg = having;
232+
this.paginatingAgg = hasHavingClause;
233233
exprValueFactory.setParser(builderAndParser.getRight());
234234
// no need to sort docs for aggregation
235235
if (sourceBuilder.sorts() != null) {

0 commit comments

Comments
 (0)