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