Skip to content

Commit

Permalink
use selectStatement.getAggregationDistinctSelectItems()
Browse files Browse the repository at this point in the history
  • Loading branch information
tristaZero committed Jan 2, 2019
1 parent a9e34a2 commit 88cda36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private List<QueryResult> getRealQueryResults(final List<QueryResult> queryResul
return queryResults;
}
if (!selectStatement.getAggregationDistinctSelectItems().isEmpty()) {
return getDividedQueryResults(new AggregationDistinctQueryResult(queryResults, selectStatement));
return getDividedQueryResults(new AggregationDistinctQueryResult(queryResults, selectStatement.getAggregationDistinctSelectItems()));
}
if (selectStatement.getDistinctSelectItem().isPresent()) {
return getDividedQueryResults(new DistinctQueryResult(queryResults, new ArrayList<>(selectStatement.getDistinctSelectItem().get().getDistinctColumnLabels())));
Expand Down

0 comments on commit 88cda36

Please sign in to comment.