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

Function interesting_binary_funcs

src/expr/src/interpret.rs:1314–1330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1312 }
1313
1314 fn interesting_binary_funcs() -> Vec<BinaryFunc> {
1315 vec![
1316 AddTimestampInterval.into(),
1317 AddNumeric.into(),
1318 SubNumeric.into(),
1319 MulNumeric.into(),
1320 DivNumeric.into(),
1321 Eq.into(),
1322 Lt.into(),
1323 Gt.into(),
1324 Lte.into(),
1325 Gte.into(),
1326 DateTruncUnitsTimestamp.into(),
1327 JsonbGetString.into(),
1328 JsonbGetStringStringify.into(),
1329 ]
1330 }
1331
1332 fn binary_typecheck(func: &BinaryFunc, arg0: &ReprColumnType, arg1: &ReprColumnType) -> bool {
1333 use BinaryFunc::*;

Callers 1

gen_expr_for_relationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected