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

Vectorization: Custom UDF Vectorization annotations are ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • UDF, Vectorization
    • None
    • Vectorization: Custom UDF Vectorization annotations are ignored (Gopal V, reviewed by Ashutosh Chauhan)

    Description

      @VectorizedExpressions(value = { VectorStringRot13.class })
      

      in a custom UDF Is ignored because the check for annotations happens after custom UDF detection.

      The custom UDF codepath is on the fail-over track of annotation lookups, so the detection during validation of SEL is sufficient, instead of during expression creation.

      Attachments

        1. HIVE-14155.3.patch
          18 kB
          Gopal Vijayaraghavan
        2. HIVE-14155.2.patch
          14 kB
          Gopal Vijayaraghavan
        3. HIVE-14155.1.patch
          3 kB
          Gopal Vijayaraghavan

        Activity

          People

            gopalv Gopal Vijayaraghavan
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: