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

Method push_column

src/expr/src/interpret.rs:832–835  ·  view source on GitHub ↗

Restrict the set of possible values in a given column. (By intersecting it with the existing spec.)

(&mut self, id: usize, update: ResultSpec<'a>)

Source from the content-addressed store, hash-verified

830 /// Restrict the set of possible values in a given column. (By intersecting it with the existing
831 /// spec.)
832 pub fn push_column(&mut self, id: usize, update: ResultSpec<'a>) {
833 let range = self.columns.get_mut(id).expect("valid column id");
834 *range = range.clone().intersect(update);
835 }
836
837 /// Restrict the set of possible values a given unmaterializable func might return. (By
838 /// intersecting it with the existing spec.)

Callers 15

filter_resultFunction · 0.80
checkFunction · 0.80
test_mfpFunction · 0.80
test_eval_rangeFunction · 0.80
test_jsonbFunction · 0.80
test_likeFunction · 0.80
test_inequalityFunction · 0.80

Calls 4

expectMethod · 0.80
intersectMethod · 0.80
get_mutMethod · 0.45
cloneMethod · 0.45