hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naresh P R (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-25338) AIOBE in conv UDF if input is empty
Date Fri, 16 Jul 2021 06:03:01 GMT

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

Naresh P R reassigned HIVE-25338:
---------------------------------


> AIOBE in conv UDF if input is empty
> -----------------------------------
>
>                 Key: HIVE-25338
>                 URL: https://issues.apache.org/jira/browse/HIVE-25338
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Naresh P R
>            Assignee: Naresh P R
>            Priority: Major
>
> Repro
> {code:java}
> create table test (a string);
> insert into test values ("");
> select conv(a,16,10) from test;{code}
> Exception trace:
> {code:java}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
>  at org.apache.hadoop.hive.ql.udf.UDFConv.evaluate(UDFConv.java:160){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message