Checks whether the given physical expression slices are equal.
(
lhs: &[Arc<dyn PhysicalExpr>],
rhs: &[Arc<dyn PhysicalExpr>],
)
| 63 | |
| 64 | /// Checks whether the given physical expression slices are equal. |
| 65 | pub fn physical_exprs_equal( |
| 66 | lhs: &[Arc<dyn PhysicalExpr>], |
| 67 | rhs: &[Arc<dyn PhysicalExpr>], |
| 68 | ) -> bool { |
| 69 | lhs.len() == rhs.len() && izip!(lhs, rhs).all(|(lhs, rhs)| lhs.eq(rhs)) |
| 70 | } |
| 71 | |
| 72 | /// Checks whether the given physical expression slices are equal in the sense |
| 73 | /// of bags (multi-sets), disregarding their orderings. |
no test coverage detected
searching dependent graphs…