You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Matt McCline (JIRA)" <ji...@apache.org> on 2017/02/09 07:26:41 UTC

[jira] [Commented] (HIVE-15857) Vectorization: Add string conversion case for UDFToInteger, etc

    [ https://issues.apache.org/jira/browse/HIVE-15857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859152#comment-15859152 ] 

Matt McCline commented on HIVE-15857:
-------------------------------------

Without the new CastStringToLong class, conversion falls to VectorUDFAdaptor.

{code}
vector.VectorExpressionDescriptor: getVectorExpressionClass udf UDFToInteger descriptor: Argument Count = 1, mode = PROJECTION, Argument Types = {STRING}, Input Expression Types = {COLUMN}
vector.VectorExpressionDescriptor: getVectorExpressionClass doesn't match CastTimestampToLong Argument Count = 1, mode = PROJECTION, Argument Types = {TIMESTAMP}, Input Expression Types = {COLUMN}
vector.VectorExpressionDescriptor: getVectorExpressionClass doesn't match CastDoubleToLong Argument Count = 1, mode = PROJECTION, Argument Types = {FLOAT_FAMILY}, Input Expression Types = {COLUMN}
vector.VectorExpressionDescriptor: getVectorExpressionClass doesn't match CastDecimalToLong Argument Count = 1, mode = PROJECTION, Argument Types = {DECIMAL}, Input Expression Types = {COLUMN}
vector.VectorizationContext: No vector udf found for UDFToInteger, descriptor: Argument Count = 1, mode = PROJECTION, Argument Types = {STRING}, Input Expression Types = {COLUMN}
vector.VectorizationContext: We will try to use the VectorUDFAdaptor for GenericUDFBridge ==> UDFToInteger (Column[tmp_values_col1]) because hive.vectorized.adaptor.usage.mode=all
{code}

> Vectorization: Add string conversion case for UDFToInteger, etc
> ---------------------------------------------------------------
>
>                 Key: HIVE-15857
>                 URL: https://issues.apache.org/jira/browse/HIVE-15857
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>         Attachments: HIVE-15857.01.patch
>
>
> Otherwise, VectorUDFAdaptor is used to convert a column from String to Int, etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)