hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Garg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-14610) CBO: Calcite Operator To Hive Operator(Calcite Return Path): Fix wrong result in input30
Date Wed, 24 Aug 2016 00:44:20 GMT

     [ https://issues.apache.org/jira/browse/HIVE-14610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vineet Garg updated HIVE-14610:
-------------------------------
    Status: Patch Available  (was: Open)

Updated patch to bypass hive.test.mode only for returnpath but not for CBO

> 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
>         Attachments: HIVE-14610.1.patch, HIVE-14610.2.patch
>
>
> 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)

Mime
View raw message