You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2016/08/23 19:47:20 UTC

[jira] [Created] (HIVE-14610) CBO: Calcite Operator To Hive Operator(Calcite Return Path): Fix wrong result in input30

Vineet Garg created HIVE-14610:
----------------------------------

             Summary: CBO: Calcite Operator To Hive Operator(Calcite Return Path): Fix wrong result in input30
                 Key: HIVE-14610
                 URL: https://issues.apache.org/jira/browse/HIVE-14610
             Project: Hive
          Issue Type: Sub-task
          Components: CBO
            Reporter: Vineet Garg
            Assignee: Vineet Garg


Setup:
{code}
set hive.mapred.mode=nonstrict;

create table dest30(a int);
create table tst_dest30(a int);

set hive.test.mode=true;
set hive.test.mode.prefix=tst_;

insert overwrite table dest30
select count(1) from src;  
{code}

Query:
{code} select * from tst_dest30; {code}

Expected Result:
{code} 10 {code}

Actual Result:
{code} 500 {code}

Turning on hive test mode is suppose to generate sampling (implicit tablesample clause) but return path isn't honoring hive.test.mode flag



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