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

Vineet Garg commented on HIVE-21019:
------------------------------------

Hi [~ychena] These tests are testing {{stats auto gathering}} functionality on 
"default configuration". since HIVE-20703 and HIVE-20915 have updated the 
default configuration by enabling SDPO these tests should continue testing the 
original functionality on that configuration.
{quote}as long as you can add more test when fix HIVE-16100 to test both case 
(the optimization is on or off).
{quote}
I closed this JIRA since you were updating existing tests. If you would like to 
add tests for auto gather statistics for both cases feel free to reopen the 
JIRA and add new tests (without disabling the optimization for existing ones).

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

Reply via email to