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

Method apply_text_columns

src/sql-server-util/src/desc.rs:105–111  ·  view source on GitHub ↗

Update this [`SqlServerTableDesc`] to represent the specified columns as text in Materialize.

(&mut self, text_columns: &BTreeSet<&str>)

Source from the content-addressed store, hash-verified

103 /// Update this [`SqlServerTableDesc`] to represent the specified columns
104 /// as text in Materialize.
105 pub fn apply_text_columns(&mut self, text_columns: &BTreeSet<&str>) {
106 for column in &mut self.columns {
107 if text_columns.contains(column.name.as_ref()) {
108 column.represent_as_text();
109 }
110 }
111 }
112
113 /// Update this [`SqlServerTableDesc`] to exclude the specified columns from being
114 /// replicated into Materialize.

Callers 2

purify_source_exportsFunction · 0.80
testcaseFunction · 0.80

Calls 3

represent_as_textMethod · 0.80
containsMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected