spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivaram Venkataraman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-6826) `hashCode` support for arbitrary R objects
Date Thu, 09 Apr 2015 22:05:13 GMT
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


Mime
View raw message