diff options
| author | pavelvelikhov <[email protected]> | 2023-08-31 11:50:13 +0300 |
|---|---|---|
| committer | pavelvelikhov <[email protected]> | 2023-08-31 12:40:44 +0300 |
| commit | f11871b1f64c72b2186831d16ba04ce47cdc7b7b (patch) | |
| tree | 7e466a54993a1f802f15d54ccab538262a95cdc8 | |
| parent | 3d04c99f8079d301d12c0e234a77f5c628e372d2 (diff) | |
Removed statistics and cost computation for EquiJoin
Removed statistics and cost computation for EquiJoin
| -rw-r--r-- | ydb/library/yql/providers/dq/provider/yql_dq_statistics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ydb/library/yql/providers/dq/provider/yql_dq_statistics.cpp b/ydb/library/yql/providers/dq/provider/yql_dq_statistics.cpp index c22eb191bfc..c6d91e97206 100644 --- a/ydb/library/yql/providers/dq/provider/yql_dq_statistics.cpp +++ b/ydb/library/yql/providers/dq/provider/yql_dq_statistics.cpp @@ -59,6 +59,10 @@ public: State->TypeCtx->SetStats(input.Get(), std::move(std::make_shared<TOptimizerStatistics>(*stat))); } } + } + // Don't propagate statistics and costs in case of EquiJoin, join reordering only works if costs have + // not been propagated yet + else if (TCoEquiJoin::Match(input.Get())){ } else { // default sum propagation TOptimizerStatistics stat; |
