Teddy Choi created HIVE-21257: --------------------------------- Summary: 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: 3.1.1, 4.0.0 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)