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 2016/11/04 11:43:58 UTC

[jira] [Commented] (SPARK-18271) hash udf in HiveSessionCatalog.hiveFunctions seq is redundant

    [ https://issues.apache.org/jira/browse/SPARK-18271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636120#comment-15636120 ] 

Apache Spark commented on SPARK-18271:
--------------------------------------

User 'windpiger' has created a pull request for this issue:
https://github.com/apache/spark/pull/15766

> hash udf in HiveSessionCatalog.hiveFunctions seq is redundant
> -------------------------------------------------------------
>
>                 Key: SPARK-18271
>                 URL: https://issues.apache.org/jira/browse/SPARK-18271
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.1
>            Reporter: Song Jun
>            Priority: Minor
>
> when lookupfunction in HiveSessionCatalog, first look up in spark's build-in functionRegistry, if it not existed, then look up the Hive'S build-in functions which are listed in Seq(hiveFunctions).
> But the [hash] function is already in spark's build-in functionRegistry list, so it will never to go to look up in Hive's hiveFunctions list, so the [hash] function which is in Hive's hiveFunctions is redundant, we can remove it.



--
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