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

Vectorized simple CASE expressions with nulls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.1, 1.3.0, 2.0.0
    • 2.0.0
    • Vectorization
    • None
    • Vectorize simple UDFs with null arguments

    Description

      CASE when (d_day_name='Sunday') then ss_sales_price else null end

      2015-10-18T03:28:37,911 INFO  [main]: physical.Vectorizer (Vectorizer.java:validateExprNodeDesc(1360)) - Failed to vectorize
      org.apache.hadoop.hive.ql.metadata.HiveException: Unable to vectorize custom UDF. Custom udf containing constant null argument cannot be currently vectorized.
      

      Attachments

        1. HIVE-12209.2.patch
          16 kB
          Gopal Vijayaraghavan
        2. HIVE-12209.1.patch
          6 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: