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 666c2b1 commit 629388fCopy full SHA for 629388f
arrow-schema/src/fields.rs
@@ -331,14 +331,7 @@ impl std::fmt::Debug for UnionFields {
331
332
impl PartialEq for UnionFields {
333
fn eq(&self, other: &Self) -> bool {
334
- self.len() == other.len()
335
- && self.iter().all(|a| {
336
- other.iter().any(|b| {
337
- a.0 == b.0
338
- && a.1.is_nullable() == b.1.is_nullable()
339
- && a.1.data_type().equals_datatype(b.1.data_type())
340
- })
341
+ self.len() == other.len() && self.iter().all(|a| other.iter().any(|b| a == b))
342
}
343
344
0 commit comments