Skip to content

Commit 01706d2

Browse files
author
Pavel Ivanov
committed
fix
1 parent 374e523 commit 01706d2

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

ydb/core/kqp/ut/join/kqp_join_order_ut.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -376,20 +376,8 @@ Y_UNIT_TEST_SUITE(KqpJoinOrder) {
376376
TChainTester(65).Test();
377377
}
378378

379-
<<<<<<< HEAD
380379
TString ExecuteJoinOrderTestGenericQueryWithStats(const TString& queryPath, const TString& statsPath, bool useStreamLookupJoin, bool useColumnStore, bool useCBO = true) {
381380
auto kikimr = GetKikimrWithJoinSettings(useStreamLookupJoin, GetStatic(statsPath), useCBO);
382-
=======
383-
std::pair<TString, std::vector<NYdb::TResultSet>> ExecuteJoinOrderTestGenericQueryWithStats(
384-
const TString& queryPath,
385-
const TString& statsPath,
386-
bool useStreamLookupJoin,
387-
bool useColumnStore,
388-
bool useCBO = true,
389-
const TExecuteParams& params = {}
390-
) {
391-
auto kikimr = GetKikimrWithJoinSettings(useStreamLookupJoin, GetStatic(statsPath), useCBO, params);
392-
>>>>>>> 62f01135b35 ([KQP] Add ShuffleEliminated flag (#20175))
393381
kikimr.GetTestServer().GetRuntime()->GetAppData(0).FeatureFlags.SetEnableViews(true);
394382
auto db = kikimr.GetQueryClient();
395383
auto session = db.GetSession().GetValueSync().GetSession();
@@ -715,27 +703,17 @@ Y_UNIT_TEST_SUITE(KqpJoinOrder) {
715703
TVector<TString> RequestedLabels;
716704
};
717705

718-
<<<<<<< HEAD
719706
Y_UNIT_TEST(ShuffleEliminationOneJoin) {
720707
auto plan = ExecuteJoinOrderTestGenericQueryWithStats("queries/shuffle_elimination_one_join.sql", "stats/tpch1000s.json", false, true, true);
721-
=======
722-
Y_UNIT_TEST_TWIN(ShuffleEliminationOneJoin, EnableSeparationComputeActorsFromRead) {
723-
auto [plan, _] = ExecuteJoinOrderTestGenericQueryWithStats("queries/shuffle_elimination_one_join.sql", "stats/tpch1000s.json", false, true, true, {.EnableSeparationComputeActorsFromRead = EnableSeparationComputeActorsFromRead});
724-
>>>>>>> 62f01135b35 ([KQP] Add ShuffleEliminated flag (#20175))
725708
auto joinFinder = TFindJoinWithLabels(plan);
726709
auto join = joinFinder.Find({"customer", "orders"});
727710
UNIT_ASSERT_C(join.Join == "InnerJoin (Grace)", join.Join);
728711
UNIT_ASSERT(!join.LhsShuffled);
729712
UNIT_ASSERT(join.RhsShuffled);
730713
}
731714

732-
<<<<<<< HEAD
733715
Y_UNIT_TEST(ShuffleEliminationReuseShuffleTwoJoins) {
734716
auto plan = ExecuteJoinOrderTestGenericQueryWithStats("queries/shuffle_elimination_reuse_shuffle_two_joins.sql", "stats/tpch1000s.json", false, true, true);
735-
=======
736-
Y_UNIT_TEST_TWIN(ShuffleEliminationReuseShuffleTwoJoins, EnableSeparationComputeActorsFromRead) {
737-
auto [plan, _] = ExecuteJoinOrderTestGenericQueryWithStats("queries/shuffle_elimination_reuse_shuffle_two_joins.sql", "stats/tpch1000s.json", false, true, true, {.EnableSeparationComputeActorsFromRead = EnableSeparationComputeActorsFromRead});
738-
>>>>>>> 62f01135b35 ([KQP] Add ShuffleEliminated flag (#20175))
739717
auto joinFinder = TFindJoinWithLabels(plan);
740718

741719
{

0 commit comments

Comments
 (0)