ClickHouse/src/Parsers/ASTHelpers.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
254 B
C++
Raw Normal View History

#pragma once
#include <Parsers/ASTFunction.h>
namespace DB
{
static inline bool isFunctionCast(const ASTFunction * function) /// NOLINT
{
if (function)
return function->name == "CAST" || function->name == "_CAST";
return false;
}
}