diff --git a/crates/sparrow-instructions/src/inst.rs b/crates/sparrow-instructions/src/inst.rs index 6ba3b0fdd..3fa209b5a 100644 --- a/crates/sparrow-instructions/src/inst.rs +++ b/crates/sparrow-instructions/src/inst.rs @@ -264,11 +264,13 @@ impl PartialEq for InstKind { impl Hash for InstKind { fn hash(&self, state: &mut H) { + core::mem::discriminant(self).hash(state); match self { InstKind::Udf(udf) => udf.hash(state), InstKind::Simple(op) => op.hash(state), InstKind::Cast(dt) => dt.hash(state), - _ => core::mem::discriminant(self).hash(state), + InstKind::Record => {} + InstKind::FieldRef => {} } } }