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

Ted Xu commented on HIVE-9112:
------------------------------

Thanks [~xuefuz], it is a bug of constant propagation optimizer.

I'm running the unit tests and hopefully will get the patch ready soon.

> Query may generate different results depending on the number of reducers
> ------------------------------------------------------------------------
>
>                 Key: HIVE-9112
>                 URL: https://issues.apache.org/jira/browse/HIVE-9112
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Chao
>            Assignee: Ted Xu
>
> Some queries may generate different results depending on the number of 
> reducers, for example, tests like ppd_multi_insert.q, join_nullsafe.q, 
> subquery_in.q, etc.
> Take subquery_in.q as example, if we add
> {noformat}
> set mapred.reduce.tasks=3;
> {noformat}
> to this test file, the result will be different (and wrong):
> {noformat}
> @@ -903,5 +903,3 @@ where li.l_linenumber = 1 and
>  POSTHOOK: type: QUERY
>  POSTHOOK: Input: default@lineitem
>  #### A masked pattern was here ####
> -108570 8571
> -4297   1798
> {noformat}



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

Reply via email to