You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by Antoni Ivanov <ai...@vmware.com> on 2017/06/29 13:50:35 UTC

Java UDFs returning NULL difference between 2.7.0 and 2.8.0

Hi,

We just upgraded from CDH 5.9 (Impala 2.7.0) to latest (CDH 5.11.1 Impala 2.8.0)
We also have custom Java (Hive) UDFs used in Impala.

Before: select custom_udf_func(NULL) - returned NULL in the Java code - when executed by Impala it also returned NULL

NOW: select custom_udf_func(NULL) - returns NULL in the Java  code - when executed by Impala it returns empty string ("")

Is that a bug in Impala (or maybe Hive) you are aware of?

Thanks,
Antoni

We deliver the VMware Analytics Cloud (VAC)
Learn more about VAC here<https://wiki.eng.vmware.com/VAC>


Re: Java UDFs returning NULL difference between 2.7.0 and 2.8.0

Posted by Jim Apple <jb...@cloudera.com>.
https://issues.apache.org/jira/browse/IMPALA-5580

On Thu, Jun 29, 2017 at 6:50 AM, Antoni Ivanov <ai...@vmware.com> wrote:

> Hi,
>
>
>
> We just upgraded from CDH 5.9 (Impala 2.7.0) to latest (CDH 5.11.1 Impala
> 2.8.0)
>
> We also have custom Java (Hive) UDFs used in Impala.
>
>
>
> Before: select custom_udf_func(NULL) – returned *NULL* in the Java code –
> when executed by Impala it also returned *NULL*
>
>
>
> NOW: select custom_udf_func(NULL) – returns *NULL* in the Java  code –
> when executed by Impala it returns *empty string (“”)*
>
>
>
> Is that a bug in Impala (or maybe Hive) you are aware of?
>
>
>
> Thanks,
>
> Antoni
>
>
>
> We deliver the VMware Analytics Cloud (VAC)
> Learn more about VAC here <https://wiki.eng.vmware.com/VAC>
>
>
>

Re: Java UDFs returning NULL difference between 2.7.0 and 2.8.0

Posted by Jim Apple <jb...@cloudera.com>.
https://issues.apache.org/jira/browse/IMPALA-5580

On Thu, Jun 29, 2017 at 6:50 AM, Antoni Ivanov <ai...@vmware.com> wrote:

> Hi,
>
>
>
> We just upgraded from CDH 5.9 (Impala 2.7.0) to latest (CDH 5.11.1 Impala
> 2.8.0)
>
> We also have custom Java (Hive) UDFs used in Impala.
>
>
>
> Before: select custom_udf_func(NULL) – returned *NULL* in the Java code –
> when executed by Impala it also returned *NULL*
>
>
>
> NOW: select custom_udf_func(NULL) – returns *NULL* in the Java  code –
> when executed by Impala it returns *empty string (“”)*
>
>
>
> Is that a bug in Impala (or maybe Hive) you are aware of?
>
>
>
> Thanks,
>
> Antoni
>
>
>
> We deliver the VMware Analytics Cloud (VAC)
> Learn more about VAC here <https://wiki.eng.vmware.com/VAC>
>
>
>