23 #include <unordered_set>
32 std::unordered_set<std::string> non_supported_functions;
33 non_supported_functions.emplace(
"CURRENT_USER");
34 non_supported_functions.emplace(
"CURRENT_TIME");
35 non_supported_functions.emplace(
"CURRENT_DATE");
36 non_supported_functions.emplace(
"CURRENT_TIMESTAMP");
37 non_supported_functions.emplace(
"CARDINALITY");
38 non_supported_functions.emplace(
"ARRAY_LENGTH");
39 non_supported_functions.emplace(
"ITEM");
40 non_supported_functions.emplace(
"NOW");
41 non_supported_functions.emplace(
"SIGN");
42 non_supported_functions.emplace(
"OFFSET_IN_FRAGMENT");
43 non_supported_functions.emplace(
"DATETIME");
44 return non_supported_functions;
std::string non_supported_node_tag_
void check(const RelAlgNode *)
static std::pair< bool, std::string > hasNonSupportedNodeInDag(const RelAlgNode *rel_alg_node)
std::string const & getNonSupportedNodeTag() const
void visit(const RelLogicalValues *) override
bool getCheckResult() const
const std::unordered_set< std::string > non_supported_functions_
void detectNonSupportedNode(const std::string &node_tag)
bool detect_non_supported_node_
bool g_enable_watchdog false
static std::unordered_set< std::string > getNonSupportedFunctionsList()