Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
gargvishesh committed Oct 9, 2024
1 parent 00806de commit f930bb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ private static ColumnMappings getColumnMappings(DataSchema dataSchema)
? TIME_VIRTUAL_COLUMN
: ColumnHolder.TIME_COLUMN_NAME;
ColumnMapping timeColumnMapping = new ColumnMapping(timeColumn, ColumnHolder.TIME_COLUMN_NAME);
if (dataSchema.getDimensionsSpec().isForceSegmentSortByTime()){
if (dataSchema.getDimensionsSpec().isForceSegmentSortByTime()) {
// When not sorted by time, the __time column is missing from dimensionsSpec
columnMappings.add(timeColumnMapping);
}
columnMappings.addAll(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,8 @@ private static IndexSpec createIndexSpec()
.build();
}

private static DataSourceMSQDestination getExpectedDestination(){
private static DataSourceMSQDestination getExpectedDestination()
{
return new DataSourceMSQDestination(
DATA_SOURCE,
SEGMENT_GRANULARITY.getDefaultGranularity(),
Expand All @@ -590,7 +591,8 @@ private static DataSourceMSQDestination getExpectedDestination(){
);
}

private static MSQTuningConfig getExpectedTuningConfig() {
private static MSQTuningConfig getExpectedTuningConfig()
{
return new MSQTuningConfig(
1,
MultiStageQueryContext.DEFAULT_ROWS_IN_MEMORY,
Expand Down

0 comments on commit f930bb3

Please sign in to comment.