mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
17 lines
300 B
C++
17 lines
300 B
C++
#pragma once
|
|
|
|
namespace DB
|
|
{
|
|
|
|
inline bool functionIsInOperator(const std::string & name)
|
|
{
|
|
return name == "in" || name == "notIn";
|
|
}
|
|
|
|
inline bool functionIsInOrGlobalInOperator(const std::string & name)
|
|
{
|
|
return functionIsInOperator(name) || name == "globalIn" || name == "globalNotIn";
|
|
}
|
|
|
|
}
|