carloea2 opened a new issue, #8183: URL: https://github.com/apache/texera/issues/8183
### Root cause Python `Tuple.__eq__` compares field names and values but ignores the schema, while `Tuple.__hash__` uses schema types. Equal-looking values under different schemas can therefore compare equal and produce different hashes, violating the Python equality and hash contract. ### Reproduction Compare an `INTEGER` tuple containing 1 with a `DOUBLE` tuple containing 1.0. Before: equality is true, hashes are 32 and 1072693279, and an equal dictionary key cannot be found After: different schemas compare unequal, while same-schema tuples remain equal and hash-compatible ### Expected behavior Tuple equality includes schema identity, matching the values used to calculate its hash. ### Version Current `main` at 70c21145887920528d7d5540e3fb790b43e8b759. -- 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]
