From ccedab3b78fbfcce7f4e3fd8b8dcb1abfc53218e Mon Sep 17 00:00:00 2001 From: Yakov Olkhovskiy Date: Wed, 20 Nov 2024 17:34:03 +0000 Subject: [PATCH] fix style --- src/Analyzer/ConstantNode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Analyzer/ConstantNode.cpp b/src/Analyzer/ConstantNode.cpp index bcbfb50304f..11ca88d7877 100644 --- a/src/Analyzer/ConstantNode.cpp +++ b/src/Analyzer/ConstantNode.cpp @@ -152,8 +152,8 @@ bool ConstantNode::isEqualImpl(const IQueryTreeNode & rhs, CompareOptions compar const auto & value_type = constant_value.getType(); 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)) + 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() ) return false;