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

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

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.14.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              navis Navis
              Reporter:
              gopalv Gopal V
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: