You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemall.apache.org by "Takeshi Yamamuro (JIRA)" <ji...@apache.org> on 2016/11/21 06:35:58 UTC

[jira] [Commented] (HIVEMALL-20) Improve the performance of Hive integration in Spark

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

Takeshi Yamamuro commented on HIVEMALL-20:
------------------------------------------

I made a pr to support codegen for UDF and GenericUDF (SPARK-18478). `Generator` is a Spark plan node that `GenericUDTF` depends on and this node has recently supported codegen in SPARK-15214. So, we can also improve `GenericUDTF` performance along with SPARK-18478.

> Improve the performance of Hive integration in Spark
> ----------------------------------------------------
>
>                 Key: HIVEMALL-20
>                 URL: https://issues.apache.org/jira/browse/HIVEMALL-20
>             Project: Hivemall
>          Issue Type: Improvement
>            Reporter: Takeshi Yamamuro
>            Assignee: Takeshi Yamamuro
>
> Most of Hivemall functions depend on Hive interfaces (UDF, GenericUDF, GenericUDTF, ...), but Spark currently has overheads to call these interfaces (https://github.com/myui/hivemall/blob/master/spark/spark-2.0/src/test/scala/org/apache/spark/sql/hive/benchmark/MiscBenchmark.scala). Therefore, some functions such as sigmoid and each_top_k have been re-implemented as native Spark functionality. This re-implementation seems to worsen maintainability, so we'd better off improving the overheads in Spark. This ticket is to track all related the activities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)