Anton Lykov created SPARK-56444:
-----------------------------------

             Summary: BatchScanExec equals/hashCode contract violations
                 Key: SPARK-56444
                 URL: https://issues.apache.org/jira/browse/SPARK-56444
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Anton Lykov


BatchScanExec.equals() violates reflexivity when batch is null (which happens 
after serialization round-trip since scan is @transient) — x.equals(x) returns 
false. Additionally, hashCode() does not include keyGroupedPartitioning despite 
equals() comparing it, violating the equals/hashCode contract.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to