Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gargvishesh committed Jun 27, 2024
1 parent bdecad9 commit 053f2e9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,15 @@ private static MSQTuningConfig buildMSQTuningConfig(CompactionTask compactionTas
// We don't consider maxRowsInMemory coming via CompactionTuningConfig since it always sets a default value if no
// value specified by user.
final int maxRowsInMemory = MultiStageQueryContext.getRowsInMemory(compactionTaskContext);
final Integer maxNumSegments = MultiStageQueryContext.getMaxNumSegments(compactionTaskContext);

Integer rowsPerSegment = getRowsPerSegment(compactionTask);

return new MSQTuningConfig(
maxNumWorkers,
maxRowsInMemory,
rowsPerSegment,
maxNumSegments,
compactionTask.getTuningConfig() != null ? compactionTask.getTuningConfig().getIndexSpec() : null
);
}
Expand Down

0 comments on commit 053f2e9

Please sign in to comment.