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

Vectorization Udf: GenericUDFConcat for non-string columns input, is not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 0.14.0
    • None
    • None
    • None

    Description

      simple UDF missing vectorization - simple example would be

      hive> explain select concat( l_orderkey, ' msecs') from lineitem;

      is not vectorized while

      hive> explain select concat(cast(l_orderkey as string), ' msecs') from lineitem;

      can be vectorized.

      14/05/31 15:28:59 [main]: DEBUG vector.VectorizationContext: No vector udf found for GenericUDFConcat, descriptor: Argument Count = 2, mode = PROJECTION, Argument Types = {LONG, STRING}, Input Expression Types = {COLUMN,COLUMN}
      14/05/31 15:28:59 [main]: DEBUG physical.Vectorizer: Failed to vectorize
      org.apache.hadoop.hive.ql.metadata.HiveException: Udf: GenericUDFConcat, is not supported
              at org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getGenericUdfVectorExpression(VectorizationContext.java:918)
      

      Attachments

        1. HIVE-7160.1.patch.txt
          29 kB
          Navis Ryu

        Activity

          People

            navis Navis Ryu
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: