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

Function concatenateName

src/DataTypes/NestedUtils.cpp:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39{
40
41std::string concatenateName(const std::string & nested_table_name, const std::string & nested_field_name)
42{
43 if (nested_table_name.empty())
44 return nested_field_name;
45
46 if (nested_field_name.empty())
47 return nested_table_name;
48
49 return nested_table_name + "." + nested_field_name;
50}
51
52
53/** Name can be treated as compound if it contains dot (.) in the middle.

Callers 15

flattenNestedMethod · 0.85
getColumnOnDiskMethod · 0.85
getColumnNameInPartMethod · 0.85
getColumnInPartMethod · 0.85
findColumnForOffsetsMethod · 0.85
setColumnsMethod · 0.85
traverseComplexTypeFunction · 0.85
createActionMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected