From c4b108b2b23bad7c9b16816bce4172bb1bb9097d Mon Sep 17 00:00:00 2001 From: Yakov Olkhovskiy Date: Wed, 20 Nov 2024 20:30:57 +0000 Subject: [PATCH] fix --- src/Analyzer/ConstantNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Analyzer/ConstantNode.cpp b/src/Analyzer/ConstantNode.cpp index 11ca88d7877..4a5bf7a4b3c 100644 --- a/src/Analyzer/ConstantNode.cpp +++ b/src/Analyzer/ConstantNode.cpp @@ -154,7 +154,7 @@ bool ConstantNode::isEqualImpl(const IQueryTreeNode & rhs, CompareOptions compar const auto & rhs_value_type = rhs_typed.constant_value.getType(); if ((isArray(value_type) || isTuple(value_type) || isMap(value_type) || isArray(rhs_value_type) || isTuple(rhs_value_type) || isMap(rhs_value_type)) - && constant_value.getType() != rhs_typed.constant_value.getType() + && !value_type->equals(*rhs_value_type) ) return false;