(&self, other: &Partitioning)
| 296 | |
| 297 | impl PartialEq for Partitioning { |
| 298 | fn eq(&self, other: &Partitioning) -> bool { |
| 299 | match (self, other) { |
| 300 | ( |
| 301 | Partitioning::RoundRobinBatch(count1), |
| 302 | Partitioning::RoundRobinBatch(count2), |
| 303 | ) if count1 == count2 => true, |
| 304 | (Partitioning::Hash(exprs1, count1), Partitioning::Hash(exprs2, count2)) |
| 305 | if physical_exprs_equal(exprs1, exprs2) && (count1 == count2) => |
| 306 | { |
| 307 | true |
| 308 | } |
| 309 | _ => false, |
| 310 | } |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | /// How data is distributed amongst partitions. See [`Partitioning`] for more |
no test coverage detected