[ 
https://issues.apache.org/jira/browse/HIVE-21257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767946#comment-16767946
 ] 

Teddy Choi commented on HIVE-21257:
-----------------------------------

I tested this issue in Hive 3+ and I found that it only occurs in Hive 2. I 
will close this issue.

> Vectorized LENGTH UDF doesn't respect the max length of VARCHAR or CHAR in 
> Hive 3+
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-21257
>                 URL: https://issues.apache.org/jira/browse/HIVE-21257
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0, 3.1.1
>            Reporter: Teddy Choi
>            Assignee: Teddy Choi
>            Priority: Major
>
> After HIVE-19951 is fixed, there still are some cases that vectorized length 
> UDF doesn't respect the max length of VARCHAR or CHAR. StringLength has an 
> internal bug. Moreover, it's hard to get input data type details in Hive 2, 
> unlike Hive 3. So separate both implementation to keep code clean in Hive 3 
> while the changes minimal in Hive 2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to