NPE on MAP-JOIN with a UDF in an external JAR
---------------------------------------------

                 Key: HIVE-2627
                 URL: https://issues.apache.org/jira/browse/HIVE-2627
             Project: Hive
          Issue Type: Bug
            Reporter: Jonathan Chang


When a query is converted into a map join, and it depends on some UDF (ADD 
JAR...; CREATE TEMPORARY FUNCTION...), then an NPE may happen.  Here is an 
example.

SELECT
    some_udf(dummy1) as dummies
FROM (
    SELECT        
        a.dummy as dummy1,
        b.dummy as dummy2
    FROM        
        test a    
    LEFT OUTER JOIN
        test b
    ON
        a.dummy = b.dummy
) c;

My guess is that the JAR classes are not getting propagated to the hashmapjoin 
operator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to