Vladimir Golubev created SPARK-51438:
----------------------------------------

             Summary: Make CatalystDataToProtobuf and ProtobufDataToCatalyst 
properly comparable and hashable
                 Key: SPARK-51438
                 URL: https://issues.apache.org/jira/browse/SPARK-51438
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.1.0
            Reporter: Vladimir Golubev


`CatalystDataToProtobuf` and `ProtobufDataToCatalyst` have `Array[Byte]` in 
their case class fields, which makes them incomparable using the 
default-generated equals, because `Array.equals` performs reference comparison. 
We need to use `Array.sameElements`.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to