hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongzhi Chen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-21019) Fix autoColumnStats tests to make auto stats gather possible.
Date Sat, 08 Dec 2018 22:52:00 GMT

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

Yongzhi Chen edited comment on HIVE-21019 at 12/8/18 10:51 PM:
---------------------------------------------------------------

[~vgarg], turn off because the test is always tested the case when the optimization is off
before, just recent changes of 
https://issues.apache.org/jira/browse/HIVE-20703 . makes the optimization can be turn on in
default setup. Turn off it explicitly just do not want to lose the test scenario. I do not
mind that this jira will be never checked in, as long as you can add more test when fix HIVE-16100
to test both case (the optimization is on or off). 


was (Author: ychena):
[~vgarg], turn off because the test is always tested the case when the optimization is off
before, just recent changes of 
https://issues.apache.org/jira/browse/HIVE-20703 . makes the optimization can be turn on in
default setup. Turn off it explicitly just do not want to lose the test scenario. You can
add more test when fix HIVE-16100 to test the case when the optimization is on. 

> Fix autoColumnStats tests to make auto stats gather possible.
> -------------------------------------------------------------
>
>                 Key: HIVE-21019
>                 URL: https://issues.apache.org/jira/browse/HIVE-21019
>             Project: Hive
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 4.0.0
>            Reporter: Yongzhi Chen
>            Assignee: Yongzhi Chen
>            Priority: Major
>         Attachments: HIVE-21019.1.patch
>
>
> Before https://issues.apache.org/jira/browse/HIVE-20915 , the optimizer sort dynamic
partitions is turn off for these tests. So these test can have group by in the query plan
which can trigger compute statistics. After the jira, the optimizer is enabled, because of
a a known bug with dynamic sorted partition optimization (HIVE-16100), the computer statistics
does not happen. Fix the tests to disable the optimizer to test the same code path as before.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message