hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt McCline (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15857) Vectorization: Add string conversion case for UDFToInteger, etc
Date Thu, 09 Feb 2017 07:26:41 GMT

    [ 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)

Mime
View raw message