You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/10/28 19:53:34 UTC

[jira] [Commented] (HIVE-8619) CBO causes some more type problems

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

Ashutosh Chauhan commented on HIVE-8619:
----------------------------------------

[~jpullokkaran] This is caused by HIVE-8530. Once, I removed that patch from my tree (and HIVE-8575) these above tests passes. Initial investigation seems to suggest that in these cases some literals which are coming in as double to Hive are now parsed as int after CBO. 
Would you like to take a look? 

cc: [~sershe]

> CBO causes some more type problems
> ----------------------------------
>
>                 Key: HIVE-8619
>                 URL: https://issues.apache.org/jira/browse/HIVE-8619
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>            Reporter: Sergey Shelukhin
>            Assignee: Ashutosh Chauhan
>            Priority: Critical
>
> On recent rerun, tests such as char_cast, decimal_2, literal_double, vector_elt (incl. in Tez), udf4, vector_decimal_math_funcs have changes in results it looks like something is broken with types again; ".0" suffix disappeared in some cases (in char_cast it's probably the simplest to see), number formats changed when casts are involved.
> Also, windowing_expressions and couple more tests fail due to attempts to cast Double to Int writables, might be the same issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)