checkstyle

This commit is contained in:
Zoltan Haindrich 2024-08-06 09:44:27 +00:00
parent 130252bb5e
commit 61c3b16b17
6 changed files with 7 additions and 22 deletions

View File

@ -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;

View File

@ -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);
}
@ -89,4 +87,4 @@ public class TestMSQSqlModule extends TestDruidModule {
{
return druidMeta;
}
}
}

View File

@ -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;

View File

@ -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;

View File

@ -57,4 +57,4 @@ public final class StandardMSQComponentSupplier extends StandardComponentSupplie
{
return injector.getInstance(MSQTaskSqlEngine.class);
}
}
}

View File

@ -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;