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

[jira] [Assigned] (HIVE-20498) Support date type for column stats autogather

     [ https://issues.apache.org/jira/browse/HIVE-20498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Voros reassigned HIVE-20498:
-----------------------------------

    Assignee: Daniel Voros

> Support date type for column stats autogather
> ---------------------------------------------
>
>                 Key: HIVE-20498
>                 URL: https://issues.apache.org/jira/browse/HIVE-20498
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Statistics
>            Reporter: Zoltan Haindrich
>            Assignee: Daniel Voros
>            Priority: Major
>
> {code}
> set hive.stats.column.autogather=true;
> create table dx2(a int,b int,d date);
> explain insert into dx2 values(1,1,'2011-11-11');
> -- no compute_stats calls
> insert into dx2 values(1,1,'2011-11-11');
> insert into dx2 values(1,1,'2001-11-11');
> explain analyze table dx2 compute statistics for columns;
> -- as expected; has compute_stats calls
> analyze table dx2 compute statistics for columns;
> -- runs ok
> desc formatted dx2 d;
> -- looks good
> {code}



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