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

Pengcheng Xiong commented on HIVE-15023:
----------------------------------------

all the tests look good to me except 
{code}
 
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_4] 
       40 sec  1
 
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats]
  10 sec  58
 
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid]
        3 sec   58
{code}
They seem unrelated. [~ashutoshc] or [~jcamachorodriguez], could u take a look? 
Thanks.

> SimpleFetchOptimizer needs to optimize limit=0
> ----------------------------------------------
>
>                 Key: HIVE-15023
>                 URL: https://issues.apache.org/jira/browse/HIVE-15023
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-15023.01.patch, HIVE-15023.02.patch
>
>
> on current master
> {code}
> hive> explain select key from src limit 0;
> OK
> STAGE DEPENDENCIES:
>   Stage-0 is a root stage
> STAGE PLANS:
>   Stage: Stage-0
>     Fetch Operator
>       limit: 0
>       Processor Tree:
>         TableScan
>           alias: src
>           Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
> Column stats: NONE
>           Select Operator
>             expressions: key (type: string)
>             outputColumnNames: _col0
>             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
> Column stats: NONE
>             Limit
>               Number of rows: 0
>               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
> stats: NONE
>               ListSink
> Time taken: 7.534 seconds, Fetched: 20 row(s)
> {code}



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

Reply via email to