@@ -140,16 +140,17 @@ Y_UNIT_TEST(RelCollector) {
140
140
.Done ();
141
141
142
142
TTypeAnnotationContext typeCtx;
143
- UNIT_ASSERT (DqCollectJoinRelationsWithStats (typeCtx, equiJoin, [&](auto , auto ) {}) == false );
143
+ TVector<std::shared_ptr<TRelOptimizerNode>> rels;
144
+ UNIT_ASSERT (DqCollectJoinRelationsWithStats (rels, typeCtx, equiJoin, [&](auto , auto , auto , auto ) {}) == false );
144
145
145
146
typeCtx.StatisticsMap [tables[1 ].Ptr ()->Child (0 )] = std::make_shared<TOptimizerStatistics>(1 , 1 , 1 );
146
- UNIT_ASSERT (DqCollectJoinRelationsWithStats (typeCtx, equiJoin, [&](auto , auto ) {}) == false );
147
+ UNIT_ASSERT (DqCollectJoinRelationsWithStats (rels, typeCtx, equiJoin, [&](auto , auto , auto , auto ) {}) == false );
147
148
148
149
typeCtx.StatisticsMap [tables[0 ].Ptr ()->Child (0 )] = std::make_shared<TOptimizerStatistics>(1 , 1 , 1 );
149
150
typeCtx.StatisticsMap [tables[2 ].Ptr ()->Child (0 )] = std::make_shared<TOptimizerStatistics>(1 , 1 , 1 );
150
151
151
152
TVector<TString> labels;
152
- UNIT_ASSERT (DqCollectJoinRelationsWithStats (typeCtx, equiJoin, [&](auto label, auto ) { labels.emplace_back (label); }) == true );
153
+ UNIT_ASSERT (DqCollectJoinRelationsWithStats (rels, typeCtx, equiJoin, [&](auto , auto label, auto , auto ) { labels.emplace_back (label); }) == true );
153
154
UNIT_ASSERT (labels.size () == 3 );
154
155
UNIT_ASSERT_STRINGS_EQUAL (labels[0 ], " orders" );
155
156
UNIT_ASSERT_STRINGS_EQUAL (labels[1 ], " customer" );
@@ -167,7 +168,8 @@ Y_UNIT_TEST(RelCollectorBrokenEquiJoin) {
167
168
.Done ();
168
169
169
170
TTypeAnnotationContext typeCtx;
170
- UNIT_ASSERT (DqCollectJoinRelationsWithStats (typeCtx, equiJoin, [&](auto , auto ) {}) == false );
171
+ TVector<std::shared_ptr<TRelOptimizerNode>> rels;
172
+ UNIT_ASSERT (DqCollectJoinRelationsWithStats (rels, typeCtx, equiJoin, [&](auto , auto , auto , auto ) {}) == false );
171
173
}
172
174
173
175
void _DqOptimizeEquiJoinWithCosts (const std::function<IOptimizer*(IOptimizer::TInput&&)>& optFactory) {
0 commit comments