Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21256

Vectorized LENGTH UDF doesn't respect the max length of VARCHAR or CHAR in Hive 2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.3.4
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. HIVE-21256.2.branch-2.patch
          18 kB
          Teddy Choi

        Activity

          People

            teddy.choi Teddy Choi
            teddy.choi Teddy Choi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: