MCPcopy Create free account
hub / github.com/apache/datafusion / cmp

Method cmp

datafusion/common/src/types/logical.rs:126–129  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

124
125impl Ord for dyn LogicalType {
126 fn cmp(&self, other: &Self) -> Ordering {
127 // Logical types with identical signatures are considered equal.
128 self.signature().cmp(&other.signature())
129 }
130}
131
132impl Hash for dyn LogicalType {

Callers 2

partial_cmpMethod · 0.45
partial_cmp_listFunction · 0.45

Calls 1

signatureMethod · 0.45

Tested by

no test coverage detected