Hive
  1. Hive
  2. HIVE-7160

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

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Minor 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)
      

        Activity

        Gopal V created issue -
        Gopal V made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Gopal V made changes -
        Affects Version/s 0.14.0 [ 12326450 ]
        Navis made changes -
        Summary Vectorization Udf: GenericUDFConcat, is not supported Vectorization Udf: GenericUDFConcat for non-string columns input, is not supported
        Navis made changes -
        Attachment HIVE-7160.1.patch.txt [ 12648447 ]
        Navis made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Navis [ navis ]
        Gopal V made changes -
        Link This issue relates to HIVE-7424 [ HIVE-7424 ]
        Gopal V made changes -
        Link This issue relates to HIVE-7421 [ HIVE-7421 ]
        Matt McCline made changes -
        Link This issue relates to HIVE-7421 [ HIVE-7421 ]
        Matt McCline made changes -
        Link This issue relates to HIVE-7424 [ HIVE-7424 ]

          People

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

            Dates

            • Created:
              Updated:

              Development