mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
fix: function visibility
This commit is contained in:
parent
aaa05f2466
commit
cf696afd4c
@ -660,6 +660,11 @@ struct ArrayIndexGenericNullImpl
|
||||
}
|
||||
};
|
||||
|
||||
inline bool allowNested(const DataTypePtr & left, const DataTypePtr & right)
|
||||
{
|
||||
return ((isNativeNumber(left) || isEnum(left)) && isNativeNumber(right)) || left->equals(*right);
|
||||
}
|
||||
|
||||
inline bool allowArguments(const DataTypePtr & array_inner_type, const DataTypePtr & arg)
|
||||
{
|
||||
if (allowNested(array_inner_type, arg))
|
||||
@ -732,11 +737,6 @@ inline bool allowArguments(const DataTypePtr & array_inner_type, const DataTypeP
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool allowNested(const DataTypePtr & left, const DataTypePtr & right)
|
||||
{
|
||||
return ((isNativeNumber(left) || isEnum(left)) && isNativeNumber(right)) || left->equals(*right);
|
||||
}
|
||||
|
||||
template <class ConcreteAction, class Name>
|
||||
class FunctionArrayIndex : public IFunction
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user