You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2015/04/10 00:05:13 UTC

[jira] [Created] (SPARK-6826) `hashCode` support for arbitrary R objects

Shivaram Venkataraman created SPARK-6826:
--------------------------------------------

             Summary: `hashCode` support for arbitrary R objects
                 Key: SPARK-6826
                 URL: https://issues.apache.org/jira/browse/SPARK-6826
             Project: Spark
          Issue Type: Bug
          Components: SparkR
            Reporter: Shivaram Venkataraman


>From the SparkR JIRA

digest::digest looks interesting, but it seems to be more heavyweight than our requirements. One relatively easy way to do this is to serialize the given R object into a string (serialize(object, ascii=T)) and then just call the string hashCode function on this. FWIW it looks like digest follows a similar strategy where the md5sum / shasum etc. are calculated on serialized objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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