mirror of https://github.com/apache/druid.git
Fix IntelliJ inspection error (#8553)
Change by #8535 causes TeamCity inspection error in CI (although it does not show the error in the local IDE).
This commit is contained in:
parent
c6f4f09557
commit
baec3a06e9
|
@ -633,7 +633,8 @@ public class GroupByQueryQueryToolChest extends QueryToolChest<ResultRow, GroupB
|
|||
}
|
||||
|
||||
final Iterator<DimensionSpec> dimsIter = dims.iterator();
|
||||
for (int dimPos = 0; dimsIter.hasNext() && results.hasNext(); dimPos++) {
|
||||
int dimPos = 0;
|
||||
while (dimsIter.hasNext() && results.hasNext()) {
|
||||
final DimensionSpec dimensionSpec = dimsIter.next();
|
||||
|
||||
// Must convert generic Jackson-deserialized type into the proper type.
|
||||
|
@ -641,6 +642,8 @@ public class GroupByQueryQueryToolChest extends QueryToolChest<ResultRow, GroupB
|
|||
dimensionStart + dimPos,
|
||||
DimensionHandlerUtils.convertObjectToType(results.next(), dimensionSpec.getOutputType())
|
||||
);
|
||||
|
||||
dimPos++;
|
||||
}
|
||||
|
||||
CacheStrategy.fetchAggregatorsFromCache(
|
||||
|
|
Loading…
Reference in New Issue