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

Function concatenateName

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

Source from the content-addressed store, hash-verified

30{
31
32std::string concatenateName(const std::string & nested_table_name, const std::string & nested_field_name)
33{
34 if (nested_table_name.empty())
35 return nested_field_name;
36
37 if (nested_field_name.empty())
38 return nested_table_name;
39
40 return nested_table_name + "." + nested_field_name;
41}
42
43
44/** Name can be treated as compound if it contains dot (.) in the middle.

Callers 12

flattenNestedMethod · 0.85
setColumnsPtrMethod · 0.85
setColumnsPtrMethod · 0.85
createActionMethod · 0.85
flattenFunction · 0.85
extractColumnMethod · 0.85
getSerializationMethod · 0.85
transformToSubcolumnFunction · 0.85
visitMethod · 0.85
executeImplMethod · 0.85
getArrayJoinedColumnsFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected