mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
fix
This commit is contained in:
parent
ccedab3b78
commit
c4b108b2b2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user