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

Method eq

src/expr/src/relation.rs:318–323  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

316
317impl PartialEq for MirRelationExpr {
318 fn eq(&self, other: &Self) -> bool {
319 // Capture the result and test it wrt `Ord` implementation in test environments.
320 let result = structured_diff::MreDiff::new(self, other).next().is_none();
321 mz_ore::soft_assert_eq_no_log!(result, self.cmp(other) == Ordering::Equal);
322 result
323 }
324}
325impl Eq for MirRelationExpr {}
326

Callers 4

is_trivialMethod · 0.45
is_streamableMethod · 0.45
with_projectionMethod · 0.45
string_to_array_implFunction · 0.45

Calls 2

is_noneMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected