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

Function splitName

src/DataTypes/NestedUtils.cpp:55–59  ·  view source on GitHub ↗

Name can be treated as compound if it contains dot (.) in the middle. */

Source from the content-addressed store, hash-verified

53/** Name can be treated as compound if it contains dot (.) in the middle.
54 */
55std::pair<std::string, std::string> splitName(const std::string & name, bool reverse)
56{
57 auto res = splitName(std::string_view(name), reverse);
58 return {std::string(res.first), std::string(res.second)};
59}
60
61std::pair<std::string_view, std::string_view> splitName(std::string_view name, bool reverse)
62{

Callers 15

extractTableNameFunction · 0.70
getSubcolumnsOfNestedFunction · 0.70
collectFunction · 0.70
convertToSubcolumnsFunction · 0.70
validateArraySizesFunction · 0.70
extractColumnMethod · 0.70
getColumnOnDiskMethod · 0.50
getCacheKeyMethod · 0.50
generateMethod · 0.50
readImplMethod · 0.50

Calls 2

string_viewClass · 0.85
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.40