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

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

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

Prasanth Jayachandran edited comment on HIVE-20498 at 9/19/18 6:55 AM:
-----------------------------------------------------------------------

lgtm, +1. pending tests. patch might need rebase + test fixes


was (Author: prasanth_j):
lgtm, +1. pending tests

> 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
>         Attachments: HIVE-20498.1.patch
>
>
> {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)