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

Method output_type

src/expr/src/relation/func.rs:2769–2771  ·  view source on GitHub ↗

Computes the representation type of this aggregate function. This is a wrapper around [`Self::output_sql_type`] that converts the result to a representation type.

(&self, input_type: ReprColumnType)

Source from the content-addressed store, hash-verified

2767 ///
2768 /// This is a wrapper around [`Self::output_sql_type`] that converts the result to a representation type.
2769 pub fn output_type(&self, input_type: ReprColumnType) -> ReprColumnType {
2770 ReprColumnType::from(&self.output_sql_type(SqlColumnType::from_repr(&input_type)))
2771 }
2772
2773 /// Compute output type for ROW_NUMBER, RANK, DENSE_RANK
2774 fn output_type_ranking_window_funcs(

Callers 15

typMethod · 0.45
typMethod · 0.45
push_unmaterializableMethod · 0.45
unmaterializableMethod · 0.45
unaryMethod · 0.45
binaryMethod · 0.45
variadicMethod · 0.45
gen_expr_for_relationFunction · 0.45
prep_scalar_exprMethod · 0.45
typecheckMethod · 0.45
typecheck_scalarMethod · 0.45

Calls 1

output_sql_typeMethod · 0.45

Tested by

no test coverage detected