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] [Commented] (HIVE-14610) CBO: Calcite Operator To Hive Operator(Calcite Return Path): Fix wrong result in input30
Date Tue, 23 Aug 2016 19:48:20 GMT

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

Vineet Garg commented on HIVE-14610:
------------------------------------

Return path currently doesn't support tablesample clause. So for now hive.test.mode should
skip return path as well 

> 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)

Mime
View raw message