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

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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            navis Navis Ryu Assign to me
            gopalv Gopal Vijayaraghavan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment