MCPcopy Create free account
hub / github.com/activeloopai/deeplake / get_qualified_table_name

Function get_qualified_table_name

cpp/deeplake_pg/table_storage.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51namespace {
52
53std::string get_qualified_table_name(Relation rel)
54{
55 Oid nspid = RelationGetNamespace(rel);
56 char* nspname = get_namespace_name(nspid);
57 std::string qualified_name = std::string(nspname ? nspname : "public") + "." + RelationGetRelationName(rel);
58 if (nspname) {
59 pfree(nspname);
60 }
61 return qualified_name;
62}
63
64// Helper function to split schema.table_name
65std::pair<std::string, std::string> split_table_name(const std::string& full_name)

Callers 1

load_table_metadataMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected