@@ -376,20 +376,8 @@ Y_UNIT_TEST_SUITE(KqpJoinOrder) {
376
376
TChainTester (65 ).Test ();
377
377
}
378
378
379
- <<<<<<< HEAD
380
379
TString ExecuteJoinOrderTestGenericQueryWithStats (const TString& queryPath, const TString& statsPath, bool useStreamLookupJoin, bool useColumnStore, bool useCBO = true ) {
381
380
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 ))
393
381
kikimr.GetTestServer ().GetRuntime ()->GetAppData (0 ).FeatureFlags .SetEnableViews (true );
394
382
auto db = kikimr.GetQueryClient ();
395
383
auto session = db.GetSession ().GetValueSync ().GetSession ();
@@ -715,27 +703,17 @@ Y_UNIT_TEST_SUITE(KqpJoinOrder) {
715
703
TVector<TString> RequestedLabels;
716
704
};
717
705
718
- <<<<<<< HEAD
719
706
Y_UNIT_TEST (ShuffleEliminationOneJoin) {
720
707
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 ))
725
708
auto joinFinder = TFindJoinWithLabels (plan);
726
709
auto join = joinFinder.Find ({" customer" , " orders" });
727
710
UNIT_ASSERT_C (join.Join == " InnerJoin (Grace)" , join.Join );
728
711
UNIT_ASSERT (!join.LhsShuffled );
729
712
UNIT_ASSERT (join.RhsShuffled );
730
713
}
731
714
732
- <<<<<<< HEAD
733
715
Y_UNIT_TEST (ShuffleEliminationReuseShuffleTwoJoins) {
734
716
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 ))
739
717
auto joinFinder = TFindJoinWithLabels (plan);
740
718
741
719
{
0 commit comments