You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/04/09 22:34:00 UTC
[jira] [Commented] (SPARK-23947) Add hashUTF8String convenience
method to hasher classes
[ https://issues.apache.org/jira/browse/SPARK-23947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431431#comment-16431431 ]
Apache Spark commented on SPARK-23947:
--------------------------------------
User 'rednaxelafx' has created a pull request for this issue:
https://github.com/apache/spark/pull/21016
> Add hashUTF8String convenience method to hasher classes
> -------------------------------------------------------
>
> Key: SPARK-23947
> URL: https://issues.apache.org/jira/browse/SPARK-23947
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.0
> Reporter: Kris Mok
> Priority: Minor
>
> Add {{hashUTF8String()}} to the hasher classes to allow Spark SQL codegen to generate cleaner code for hashing {{UTF8String}}. No change in behavior otherwise.
> Although with the introduction of SPARK-10399, the code size for hashing {{UTF8String}} is already smaller, it's still good to extract a separate function in the hasher classes so that the generated code can stay clean.
--
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