mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
Fix return type in executeImpl so it returns array types not nested array types
This commit is contained in:
parent
181335f88b
commit
fd6cb4eb8c
@ -434,7 +434,7 @@ ColumnPtr FunctionArrayIntersect<Mode>::executeImpl(const ColumnsWithTypeAndName
|
||||
if constexpr (std::is_same_v<Mode, ArrayModeIntersect>)
|
||||
return_type_with_nulls = getMostSubtype(data_types, true, true);
|
||||
else
|
||||
return_type_with_nulls = getReturnTypeImpl(data_types);
|
||||
return_type_with_nulls = getLeastSupertype(data_types);
|
||||
|
||||
auto casted_columns = castColumns(arguments, result_type, return_type_with_nulls);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user