Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into remove-group-by-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
clintropolis committed Aug 23, 2023
2 parents 64e8c32 + fb053c3 commit f75f501
Show file tree
Hide file tree
Showing 258 changed files with 6,014 additions and 4,922 deletions.
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"Area - Documentation":
- "docs/**/*"
- "website/**"
- "examples/quickstart/jupyter-notebooks/*"
- "examples/quickstart/jupyter-notebooks/**"
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class SqlExpressionBenchmark

static {
NullHandling.initializeForTests();
ExpressionProcessing.initializeForStrictBooleansTests(true);
ExpressionProcessing.initializeForTests();
}

private static final DruidProcessingConfig PROCESSING_CONFIG = new DruidProcessingConfig()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
import org.apache.druid.query.QueryContexts;
import org.apache.druid.query.QueryRunnerFactoryConglomerate;
import org.apache.druid.query.expression.TestExprMacroTable;
import org.apache.druid.segment.AutoTypeColumnSchema;
import org.apache.druid.segment.IndexSpec;
import org.apache.druid.segment.NestedDataDimensionSchema;
import org.apache.druid.segment.QueryableIndex;
import org.apache.druid.segment.column.StringEncodingStrategy;
import org.apache.druid.segment.data.FrontCodedIndexed;
Expand Down Expand Up @@ -90,7 +90,7 @@ public class SqlNestedDataBenchmark

static {
NullHandling.initializeForTests();
ExpressionProcessing.initializeForStrictBooleansTests(true);
ExpressionProcessing.initializeForTests();
}

private static final DruidProcessingConfig PROCESSING_CONFIG = new DruidProcessingConfig()
Expand Down Expand Up @@ -298,7 +298,7 @@ public void setup()
);
List<DimensionSchema> dims = ImmutableList.<DimensionSchema>builder()
.addAll(schemaInfo.getDimensionsSpec().getDimensions())
.add(new NestedDataDimensionSchema("nested"))
.add(new AutoTypeColumnSchema("nested"))
.build();
DimensionsSpec dimsSpec = new DimensionsSpec(dims);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import org.apache.druid.client.DataSourcesSnapshot;
import org.apache.druid.jackson.DefaultObjectMapper;
import org.apache.druid.java.util.common.DateTimes;
import org.apache.druid.server.coordinator.duty.CompactionSegmentIterator;
import org.apache.druid.server.coordinator.duty.CompactionSegmentSearchPolicy;
import org.apache.druid.server.coordinator.duty.NewestSegmentFirstPolicy;
import org.apache.druid.server.coordinator.compact.CompactionSegmentIterator;
import org.apache.druid.server.coordinator.compact.CompactionSegmentSearchPolicy;
import org.apache.druid.server.coordinator.compact.NewestSegmentFirstPolicy;
import org.apache.druid.timeline.DataSegment;
import org.apache.druid.timeline.SegmentTimeline;
import org.apache.druid.timeline.partition.NumberedShardSpec;
Expand Down Expand Up @@ -142,8 +142,7 @@ public void measureNewestSegmentFirstPolicy(Blackhole blackhole)
{
final CompactionSegmentIterator iterator = policy.reset(compactionConfigs, dataSources, Collections.emptyMap());
for (int i = 0; i < numCompactionTaskSlots && iterator.hasNext(); i++) {
final List<DataSegment> segments = iterator.next();
blackhole.consume(segments);
blackhole.consume(iterator.next());
}
}
}
3 changes: 0 additions & 3 deletions codestyle/guava16-forbidden-apis.txt

This file was deleted.

2 changes: 1 addition & 1 deletion distribution/bin/check-licenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def build_compatible_license_names():
compatible_licenses['BSD 3-Clause'] = 'BSD-3-Clause License'
compatible_licenses['BSD-3-Clause'] = 'BSD-3-Clause License'

compatible_licenses['ICU License'] = 'ICU License'
compatible_licenses['Unicode/ICU License'] = 'Unicode/ICU License'

compatible_licenses['SIL Open Font License 1.1'] = 'SIL Open Font License 1.1'

Expand Down
Loading

0 comments on commit f75f501

Please sign in to comment.