You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:45 UTC
[jira] [Updated] (SPARK-6826) `hashCode` support for arbitrary R
objects
[ https://issues.apache.org/jira/browse/SPARK-6826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-6826:
--------------------------------
Labels: bulk-closed (was: )
> `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
> Priority: Major
> Labels: bulk-closed
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org