MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getFunctionName

Method getFunctionName

src/Parsers/ASTCreateSQLFunctionQuery.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48String ASTCreateSQLFunctionQuery::getFunctionName() const
49{
50 String name;
51 bool is_ok = tryGetIdentifierNameInto(function_name, name);
52 if (!is_ok)
53 throw Exception(ErrorCodes::LOGICAL_ERROR, "Expected function name, got '{}'", function_name->formatForErrorMessage());
54 return name;
55}
56
57
58}

Callers 12

isIndexHintFunctionMethod · 0.45
buildJoinConditionFunction · 0.45
visitImplMethod · 0.45
visitFunctionMethod · 0.45
buildJoinClauseImplFunction · 0.45
buildJoinClauseFunction · 0.45
buildJoinClausesFunction · 0.45
buildAllJoinClausesFunction · 0.45
isIndexHintFunctionMethod · 0.45

Calls 3

tryGetIdentifierNameIntoFunction · 0.70
ExceptionClass · 0.50
formatForErrorMessageMethod · 0.45

Tested by

no test coverage detected