hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-2627) NPE on MAP-JOIN with a UDF in an external JAR
Date Sun, 08 Jun 2014 18:06:01 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashutosh Chauhan resolved HIVE-2627.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0

Fixed in 0.13 by HIVE-6670

> 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
>    Affects Versions: 0.12.0
>            Reporter: Jonathan Chang
>             Fix For: 0.13.0
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message