You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2018/12/07 23:41:00 UTC

[jira] [Commented] (HIVE-21019) Fix autoColumnStats tests to make auto stats gather possible.

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

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

[~ychena] I don't think it is not a good idea to turn off the optimization in tests. We should fix the underlying issue. I am closing this and marking it as duplicate of HIVE-16100 since that fixes the problem.

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