You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hivemall.apache.org by "Makoto Yui (Jira)" <ji...@apache.org> on 2021/05/13 09:16:00 UTC

[jira] [Commented] (HIVEMALL-313) Why Hivemall remove spark module in the new version? How to use function created by xxxWrapper class with latest version?

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

Makoto Yui commented on HIVEMALL-313:
-------------------------------------

Spark module is removed because hard to catch up frequent spark version updates and the committer for Spark module was not so active.

[https://github.com/apache/incubator-hivemall/blob/v0.5.2/spark/spark-2.3/extra-src/hive/src/main/scala/org/apache/spark/sql/hive/HiveShim.scala]



Thus, we currently just support SparkSQL (SQLContext) and no support for Dataframes.


You can fork hivemall spark modules if you want.

[https://github.com/apache/incubator-hivemall/blob/v0.5.2/spark/spark-2.3/src/main/scala/org/apache/spark/sql/hive/HivemallOps.scala]

[https://github.com/apache/incubator-hivemall/blob/v0.5.2/spark/spark-2.3/extra-src/hive/src/main/scala/org/apache/spark/sql/hive/HiveShim.scala]

 

> Why Hivemall remove spark module in the new version? How to use function created by xxxWrapper class with latest version?
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVEMALL-313
>                 URL: https://issues.apache.org/jira/browse/HIVEMALL-313
>             Project: Hivemall
>          Issue Type: Wish
>    Affects Versions: 0.6.2
>            Reporter: Bob
>            Priority: Major
>
> It seems that we need to create some specific functions based on xxxWrapper class in spark environment. But the latest version of Hivemall does not contain spark module any more.
> That means I have to get the previous version such as 0.5.2.
> Sometimes I have to use function A based on hivemall-spark2.2-0.5.2-incubating-with-dependencies.jar and function B based on hivemall-all-0.6.2-incubating-SNAPSHOT.jar.
> Then I may meet some dependency package conflict problems there.
> I just wonder if I could use those xxxWrapper class with Hivemall under the latest version.
> Thanks a lot for your help.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)