mirror of https://github.com/apache/druid.git
checkstyle
This commit is contained in:
parent
130252bb5e
commit
61c3b16b17
|
@ -27,7 +27,6 @@ import org.apache.druid.msq.exec.MSQDrillWindowQueryTest.DrillWindowQueryMSQComp
|
|||
import org.apache.druid.msq.sql.MSQTaskSqlEngine;
|
||||
import org.apache.druid.msq.test.CalciteMSQTestsHelper;
|
||||
import org.apache.druid.msq.test.ExtractResultsFactory;
|
||||
import org.apache.druid.msq.test.MSQTestBase;
|
||||
import org.apache.druid.msq.test.MSQTestOverlordServiceClient;
|
||||
import org.apache.druid.msq.test.VerifyMSQSupportedNativeQueriesPredicate;
|
||||
import org.apache.druid.query.groupby.TestGroupByBuffers;
|
||||
|
|
|
@ -35,15 +35,14 @@ import org.apache.druid.sql.SqlToolbox;
|
|||
import org.apache.druid.sql.avatica.DruidMeta;
|
||||
import org.apache.druid.sql.avatica.MSQDruidMeta;
|
||||
|
||||
public class TestMSQSqlModule extends TestDruidModule {
|
||||
|
||||
public class TestMSQSqlModule extends TestDruidModule
|
||||
{
|
||||
@Provides
|
||||
@MultiStageQuery
|
||||
@LazySingleton
|
||||
public SqlStatementFactory makeMSQSqlStatementFactory(
|
||||
final MSQTaskSqlEngine sqlEngine,
|
||||
SqlToolbox toolbox
|
||||
)
|
||||
SqlToolbox toolbox)
|
||||
{
|
||||
return new SqlStatementFactory(toolbox.withEngine(sqlEngine));
|
||||
}
|
||||
|
@ -52,8 +51,7 @@ public class TestMSQSqlModule extends TestDruidModule {
|
|||
@LazySingleton
|
||||
public MSQTaskSqlEngine createEngine(
|
||||
ObjectMapper queryJsonMapper,
|
||||
MSQTestOverlordServiceClient indexingServiceClient
|
||||
)
|
||||
MSQTestOverlordServiceClient indexingServiceClient)
|
||||
{
|
||||
return new MSQTaskSqlEngine(indexingServiceClient, queryJsonMapper);
|
||||
}
|
||||
|
|
|
@ -19,24 +19,14 @@
|
|||
|
||||
package org.apache.druid.msq.test;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.google.inject.Injector;
|
||||
import com.google.inject.Module;
|
||||
import org.apache.druid.common.config.NullHandling;
|
||||
import org.apache.druid.guice.DruidInjectorBuilder;
|
||||
import org.apache.druid.java.util.common.ISE;
|
||||
import org.apache.druid.msq.exec.TestMSQSqlModule;
|
||||
import org.apache.druid.msq.sql.MSQTaskSqlEngine;
|
||||
import org.apache.druid.query.groupby.TestGroupByBuffers;
|
||||
import org.apache.druid.server.QueryLifecycleFactory;
|
||||
import org.apache.druid.sql.calcite.CalciteQueryTest;
|
||||
import org.apache.druid.sql.calcite.QueryTestBuilder;
|
||||
import org.apache.druid.sql.calcite.SqlTestFrameworkConfig;
|
||||
import org.apache.druid.sql.calcite.TempDirProducer;
|
||||
import org.apache.druid.sql.calcite.run.SqlEngine;
|
||||
import org.apache.druid.sql.calcite.util.SqlTestFramework.StandardComponentSupplier;
|
||||
import org.junit.Assert;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
package org.apache.druid.msq.test;
|
||||
|
||||
import org.apache.druid.java.util.common.ISE;
|
||||
import org.apache.druid.msq.indexing.report.MSQResultsReport;
|
||||
import org.apache.druid.msq.indexing.report.MSQResultsReport.ColumnAndType;
|
||||
import org.apache.druid.msq.indexing.report.MSQTaskReport;
|
||||
import org.apache.druid.msq.indexing.report.MSQTaskReportPayload;
|
||||
|
|
|
@ -62,8 +62,7 @@ public class MSQDruidMeta extends DruidMeta
|
|||
final AuthenticatorMapper authMapper,
|
||||
final MSQTestOverlordServiceClient overlordClient,
|
||||
final ObjectMapper objectMapper,
|
||||
final DruidHookDispatcher hookDispatcher
|
||||
)
|
||||
final DruidHookDispatcher hookDispatcher)
|
||||
{
|
||||
super(sqlStatementFactory, config, errorHandler, authMapper);
|
||||
this.overlordClient = overlordClient;
|
||||
|
|
Loading…
Reference in New Issue