MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / humanize_column

Method humanize_column

src/expr-parser/src/catalog.rs:95–100  ·  view source on GitHub ↗
(&self, id: GlobalId, column: usize)

Source from the content-addressed store, hash-verified

93 }
94
95 fn humanize_column(&self, id: GlobalId, column: usize) -> Option<String> {
96 let src_name = self.get_source_name(&id)?;
97 self.objects
98 .get(src_name)
99 .map(|(_, cols, _)| cols[column].clone())
100 }
101
102 fn id_exists(&self, id: GlobalId) -> bool {
103 self.names.contains_key(&id)

Callers

nothing calls this directly

Calls 4

get_source_nameMethod · 0.45
mapMethod · 0.45
getMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected