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

Method build_union

src/expr-test-util/src/lib.rs:528–538  ·  view source on GitHub ↗
(&mut self, stream_iter: &mut I)

Source from the content-addressed store, hash-verified

526 }
527
528 fn build_union<I>(&mut self, stream_iter: &mut I) -> Result<MirRelationExpr, String>
529 where
530 I: Iterator<Item = TokenTree>,
531 {
532 let mut inputs: Vec<MirRelationExpr> =
533 deserialize(stream_iter, "Vec<MirRelationExpr>", self)?;
534 Ok(MirRelationExpr::Union {
535 base: Box::new(inputs.remove(0)),
536 inputs,
537 })
538 }
539
540 fn build_special_mir_if_able<I>(
541 &mut self,

Callers 1

Calls 2

deserializeFunction · 0.50
removeMethod · 0.45

Tested by

no test coverage detected