friendlymatthew commented on PR #8627:
URL: https://github.com/apache/arrow-rs/pull/8627#issuecomment-3406891978

   cc @scovich 
   
   This is unrelated, but I wonder if we should revisit the topic of equality? 
Especially how it mixes with Equivalence classes? 🤔 
   
   In my experimental repo, I had the `Variant` map to an `EquivalenceClass` 
and then check for equality
   
   Basically,
   ```rs
   Variant::Int8(n) => EquivalenceClass::ExactNumeric(n as i64),
   Variant::Int16(n) => EquivalenceClass::ExactNumeric(n as i64),
   ```
   
   This way, we can test for equality across `Variant::Int8` <--> other exact 
numeric members


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to