This commit is contained in:
Zoltan Haindrich 2024-08-07 05:48:27 +00:00
parent ad5768e512
commit 73904b520d
1 changed files with 5 additions and 2 deletions

View File

@ -28,6 +28,7 @@ import org.apache.druid.sql.calcite.QueryTestBuilder;
import org.apache.druid.sql.calcite.SqlTestFrameworkConfig; import org.apache.druid.sql.calcite.SqlTestFrameworkConfig;
import org.apache.druid.sql.calcite.planner.JoinAlgorithm; import org.apache.druid.sql.calcite.planner.JoinAlgorithm;
import org.apache.druid.sql.calcite.planner.PlannerContext; import org.apache.druid.sql.calcite.planner.PlannerContext;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
@ -43,7 +44,8 @@ public class CalciteSelectJoinQueryMSQTest
/** /**
* Run all tests with {@link JoinAlgorithm#BROADCAST}. * Run all tests with {@link JoinAlgorithm#BROADCAST}.
*/ */
public static class BroadcastTest extends Base @Nested
public class BroadcastTest extends Base
{ {
@Override @Override
protected QueryTestBuilder testBuilder() protected QueryTestBuilder testBuilder()
@ -62,7 +64,8 @@ public class CalciteSelectJoinQueryMSQTest
/** /**
* Run all tests with {@link JoinAlgorithm#SORT_MERGE}. * Run all tests with {@link JoinAlgorithm#SORT_MERGE}.
*/ */
public static class SortMergeTest extends Base @Nested
public class SortMergeTest extends Base
{ {
@Override @Override
public boolean isSortBasedJoin() public boolean isSortBasedJoin()