-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use standard ways to load query types in tests #17572
base: master
Are you sure you want to change the base?
Conversation
This reverts commit aab6f5a.
This reverts commit fc31457.
...st/java/org/apache/druid/compressedbigdecimal/CompressedBigDecimalSqlAggregatorTestBase.java
Fixed
Show fixed
Hide fixed
...ava/org/apache/druid/query/aggregation/tdigestsketch/sql/TDigestSketchSqlAggregatorTest.java
Fixed
Show fixed
Hide fixed
...java/org/apache/druid/query/aggregation/datasketches/hll/sql/HllSketchSqlAggregatorTest.java
Fixed
Show fixed
Hide fixed
...pache/druid/query/aggregation/datasketches/quantiles/sql/DoublesSketchSqlAggregatorTest.java
Fixed
Show fixed
Hide fixed
.../org/apache/druid/query/aggregation/datasketches/theta/sql/ThetaSketchSqlAggregatorTest.java
Fixed
Show fixed
Hide fixed
|
||
@Deprecated | ||
public static List<Module> fetchModules( | ||
Function<String, File> tempFolderProducer, |
Check notice
Code scanning / CodeQL
Useless parameter Note test
@Deprecated | ||
public static List<Module> fetchModules( | ||
Function<String, File> tempFolderProducer, | ||
TestGroupByBuffers groupByBuffers |
Check notice
Code scanning / CodeQL
Useless parameter Note test
...src/test/java/org/apache/druid/query/aggregation/variance/sql/VarianceSqlAggregatorTest.java
Fixed
Show fixed
Hide fixed
extensions-core/testing-tools/src/test/java/org/apache/druid/query/sql/SleepSqlTest.java
Fixed
Show fixed
Hide fixed
* Deprecated; see: {@link QueryComponentSupplier#configureGuice(DruidInjectorBuilder, List)} | ||
*/ | ||
@Deprecated | ||
protected void configureGuice(DruidInjectorBuilder builder) |
Check notice
Code scanning / CodeQL
Useless parameter Note test
@@ -79,11 +77,9 @@ | |||
private static final List<InputRow> ROWS1 = | |||
TestDataBuilder.RAW_ROWS1.stream().map(m -> TestDataBuilder.createRow(m, SCHEMA)).collect(Collectors.toList()); | |||
|
|||
@Override | |||
public void configureGuice(DruidInjectorBuilder builder) | |||
public DruidModule getCoreModule() |
Check notice
Code scanning / CodeQL
Missing Override annotation
@@ -70,11 +71,9 @@ | |||
super(tempFolderProducer); | |||
} | |||
|
|||
@Override | |||
public void configureGuice(DruidInjectorBuilder builder) | |||
public DruidModule getCoreModule() |
Check notice
Code scanning / CodeQL
Missing Override annotation
@@ -259,11 +260,9 @@ | |||
properties.put(SqlModule.PROPERTY_SQL_APPROX_COUNT_DISTINCT_CHOICE, HllSketchApproxCountDistinctSqlAggregator.NAME); | |||
} | |||
|
|||
@Override | |||
public void configureGuice(DruidInjectorBuilder builder) | |||
public DruidModule getCoreModule() |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note test
CalciteTestBase.makeExpression
@@ -90,11 +91,9 @@ | |||
super(tempFolderProducer); | |||
} | |||
|
|||
@Override | |||
public void configureGuice(DruidInjectorBuilder builder) | |||
public DruidModule getCoreModule() |
Check notice
Code scanning / CodeQL
Exposing internal representation Note
after this call to getUsedSegmentsTimelinesPerDataSource
@@ -113,11 +114,9 @@ | |||
); | |||
} | |||
|
|||
@Override | |||
public void configureGuice(DruidInjectorBuilder builder) | |||
public DruidModule getCoreModule() |
Check notice
Code scanning / CodeQL
Missing Override annotation
|
||
@Deprecated | ||
public static List<Module> fetchModules( | ||
Function<String, File> tempFolderProducer, |
Check notice
Code scanning / CodeQL
Useless parameter
@Deprecated | ||
public static List<Module> fetchModules( | ||
Function<String, File> tempFolderProducer, | ||
TestGroupByBuffers groupByBuffers |
Check notice
Code scanning / CodeQL
Useless parameter
@@ -85,11 +86,9 @@ | |||
super(tempFolderProducer); | |||
} | |||
|
|||
@Override | |||
public void configureGuice(DruidInjectorBuilder builder) | |||
public DruidModule getCoreModule() |
Check notice
Code scanning / CodeQL
Missing Override annotation
@@ -46,13 +47,11 @@ | |||
super(tempFolderProducer); | |||
} | |||
|
|||
@Override | |||
public void configureGuice(DruidInjectorBuilder builder) | |||
public DruidModule getCoreModule() |
Check notice
Code scanning / CodeQL
Missing Override annotation
* Deprecated; see: {@link QueryComponentSupplier#configureGuice(DruidInjectorBuilder, List)} | ||
*/ | ||
@Deprecated | ||
protected void configureGuice(DruidInjectorBuilder builder) |
Check notice
Code scanning / CodeQL
Useless parameter
LookupSchema lookupSchema, DruidOperatorTable createOperatorTable) | ||
{ | ||
final DruidSchemaCatalog rootSchema = QueryFrameworkUtils.createMockRootSchema( | ||
plannerConfig, |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note test
QueryRunnerFactoryModule
instead of more complicated waysoverrides