We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a4309e commit 8d32a8cCopy full SHA for 8d32a8c
datafusion/physical-expr-common/src/physical_expr.rs
@@ -185,6 +185,7 @@ pub trait PhysicalExpr: Send + Sync + Display + Debug + PartialEq<dyn Any> {
185
186
impl Hash for dyn PhysicalExpr {
187
fn hash<H: Hasher>(&self, state: &mut H) {
188
+ self.as_any().type_id().hash(state);
189
self.dyn_hash(state);
190
}
191
datafusion/physical-expr/src/scalar_function.rs
@@ -199,7 +199,7 @@ impl PhysicalExpr for ScalarFunctionExpr {
199
self.name.hash(&mut s);
200
self.args.hash(&mut s);
201
self.return_type.hash(&mut s);
202
- // Add `self.fun` when hash is available
+ self.fun.hash(&mut s)
203
204
205
fn get_properties(&self, children: &[ExprProperties]) -> Result<ExprProperties> {
0 commit comments