hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5918) int / int division does not vectorize due to type checks
Date Wed, 04 Dec 2013 00:45:35 GMT

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

Sergey Shelukhin commented on HIVE-5918:
----------------------------------------

We discussed w/[~jnp]; the cause appears to be GenericUDFOPDivide::deriveResultExactTypeInfo,
which is always decimal, from HIVE-5356. So, ints are exact types, and this goes to decimal.
Didn't discuss solutions yet. 
Ideally, we should have vectorization support for decimal.

> int / int division does not vectorize due to type checks
> --------------------------------------------------------
>
>                 Key: HIVE-5918
>                 URL: https://issues.apache.org/jira/browse/HIVE-5918
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>
> When I try to vectorize e.g. select cbigint / 0 from alltypesorc, (with some logging
added), I get my logging
> physical.Vectorizer (Vectorizer.java:validateExprNodeDescRecursive(642)) - failed to
validate type: decimal(25,6); (cbigint / 0)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message