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)