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

Function ClusterToString

src/Client/BuzzHouse/AST/SQLProtoStr.cpp:97–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static void ClusterToString(String & ret, const bool clause, const Cluster & cl)
98{
99 if (cl.has_cluster())
100 {
101 if (clause)
102 {
103 ret += " ON CLUSTER ";
104 }
105 appendSQLStringLiteral(ret, cl.cluster());
106 if (!clause)
107 {
108 ret += ", ";
109 }
110 }
111}
112
113CONV_FN(Window, win)
114{

Callers 4

CONV_FNFunction · 0.85
CreateDatabaseToStringFunction · 0.85
CreateTableToStringFunction · 0.85
SystemCommandOnClusterFunction · 0.85

Calls 1

appendSQLStringLiteralFunction · 0.85

Tested by

no test coverage detected