You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Feng Zhu (JIRA)" <ji...@apache.org> on 2017/07/27 02:02:00 UTC

[jira] [Commented] (SPARK-21533) "configure(...)" method not called when using Hive Generic UDFs

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

Feng Zhu commented on SPARK-21533:
----------------------------------

Could you post any examples?

> "configure(...)" method not called when using Hive Generic UDFs
> ---------------------------------------------------------------
>
>                 Key: SPARK-21533
>                 URL: https://issues.apache.org/jira/browse/SPARK-21533
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API, SQL
>    Affects Versions: 2.1.1
>            Reporter: Dean Gurvitz
>            Priority: Minor
>
> Using Spark 2.1.1 and Java API, when executing a Hive Generic UDF through the Spark SQL API, the configure() method in it is not called prior to the initialize/evaluate methods as expected. 
> The method configure receives a MapredContext object. It is possible to construct a version of such an object adjusted to Spark, and therefore configure should be called to enable a smooth execution of all Hive Generic UDFs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org