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

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

Dean Gurvitz created SPARK-21533:
------------------------------------

             Summary: "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