You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Teddy Choi (JIRA)" <ji...@apache.org> on 2019/02/13 05:42:00 UTC

[jira] [Created] (HIVE-21256) Vectorized LENGTH UDF doesn't respect the max length of VARCHAR or CHAR in Hive 2

Teddy Choi created HIVE-21256:
---------------------------------

             Summary: Vectorized LENGTH UDF doesn't respect the max length of VARCHAR or CHAR in Hive 2
                 Key: HIVE-21256
                 URL: https://issues.apache.org/jira/browse/HIVE-21256
             Project: Hive
          Issue Type: Bug
    Affects Versions: 2.3.4
            Reporter: Teddy Choi
            Assignee: Teddy Choi


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)