mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Merge pull request #60451 from Avogar/fix-map-array-func-lc
Try to fix logical error 'Cannot capture column because it has incompatible type' in mapContainsKeyLike
This commit is contained in:
commit
4b3f33c5fd
@ -355,7 +355,7 @@ public:
|
||||
{
|
||||
arrays.emplace_back(
|
||||
column_tuple->getColumnPtr(j),
|
||||
recursiveRemoveLowCardinality(type_tuple.getElement(j)),
|
||||
type_tuple.getElement(j),
|
||||
array_with_type_and_name.name + "." + tuple_names[j]);
|
||||
}
|
||||
}
|
||||
@ -363,7 +363,7 @@ public:
|
||||
{
|
||||
arrays.emplace_back(
|
||||
column_array->getDataPtr(),
|
||||
recursiveRemoveLowCardinality(array_type->getNestedType()),
|
||||
array_type->getNestedType(),
|
||||
array_with_type_and_name.name);
|
||||
}
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1 @@
|
||||
SELECT mapContainsKeyLike(map('aa', toLowCardinality(1), 'bb', toLowCardinality(2)), toLowCardinality('a%'));
|
Loading…
Reference in New Issue
Block a user