aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Velikhov <pavelvelikhov@ydb.tech>2025-03-12 15:21:32 +0300
committerGitHub <noreply@github.com>2025-03-12 15:21:32 +0300
commiteda007c0ac9f6a9ea30c558b002ba95bd8391a1f (patch)
tree70a4a4e7d3be76050caa3b1b8ee5d6c92e8e509f
parent833e60afe35c4503bc863dc59ec11994efdb189b (diff)
downloadydb-eda007c0ac9f6a9ea30c558b002ba95bd8391a1f.tar.gz
Removed alias stripping from CBO (#15373)
Co-authored-by: Pavel Velikhov <pavelvelikhov@localhost.localdomain>
-rw-r--r--ydb/library/yql/dq/opt/dq_opt_join_hypergraph.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/ydb/library/yql/dq/opt/dq_opt_join_hypergraph.h b/ydb/library/yql/dq/opt/dq_opt_join_hypergraph.h
index cb809d0284..393fdbdf3d 100644
--- a/ydb/library/yql/dq/opt/dq_opt_join_hypergraph.h
+++ b/ydb/library/yql/dq/opt/dq_opt_join_hypergraph.h
@@ -49,21 +49,6 @@ public:
, IsReversed(false)
{
Y_ASSERT(LeftJoinKeys.size() == RightJoinKeys.size());
- RemoveAttributeAliases();
- }
-
- void RemoveAttributeAliases() {
- for (auto& leftKey : LeftJoinKeys) {
- if (auto idx = leftKey.AttributeName.find('.'); idx != TString::npos) {
- leftKey.AttributeName = leftKey.AttributeName.substr(idx + 1);
- }
- }
-
- for (auto& rightKey : RightJoinKeys) {
- if (auto idx = rightKey.AttributeName.find('.'); idx != TString::npos) {
- rightKey.AttributeName = rightKey.AttributeName.substr(idx + 1);
- }
- }
}
inline bool IsSimple() const {