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

Method col_with_input_cols

src/expr/src/relation.rs:404–412  ·  view source on GitHub ↗

Reports the column types of the relation given the column types of the input relations. This method delegates to `try_col_with_input_cols`, panicking if an `Err` variant is returned.

(&self, input_types: I)

Source from the content-addressed store, hash-verified

402 /// This method delegates to `try_col_with_input_cols`, panicking if an `Err`
403 /// variant is returned.
404 pub fn col_with_input_cols<'a, I>(&self, input_types: I) -> Vec<ReprColumnType>
405 where
406 I: Iterator<Item = &'a Vec<ReprColumnType>>,
407 {
408 match self.try_col_with_input_cols(input_types) {
409 Ok(col_types) => col_types,
410 Err(err) => panic!("{err}"),
411 }
412 }
413
414 /// Reports the column types of the relation given the column types of the input relations.
415 ///

Callers 1

typ_with_input_typesMethod · 0.80

Calls 1

Tested by

no test coverage detected