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

Function isDiskFunction

src/Parsers/isDiskFunction.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5{
6
7bool isDiskFunction(ASTPtr ast)
8{
9 if (!ast)
10 return false;
11
12 const auto * function = ast->as<ASTFunction>();
13 return function && function->name.starts_with("disk") && function->arguments->as<ASTExpressionList>();
14}
15
16}

Callers 7

loadFromQueryMethod · 0.85
isSecretMethod · 0.85
visitMethod · 0.85
toStringMethod · 0.85
visitMethod · 0.85
createCustomDiskMethod · 0.85
loadFromQueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected