spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivaram Venkataraman (JIRA)" <>
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
             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message