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

Jason Dere updated HIVE-10226:
------------------------------
    Attachment: HIVE-10226.2.patch

Patch v2 - Created new DateColumnStatsData in hive_metastore.thrift, which will 
be used for the date stats. Also updated describe formatter/UpdateStatsTask to 
handle Date column stats.

I did not see anything in hive_metastore.thrift related to wire protocol 
versioning, per comments from [~gopalv] - do we not have such a thing for the 
metastore protocol? I know the CLI thrift interface has something like that.

> Column stats for Date columns not supported
> -------------------------------------------
>
>                 Key: HIVE-10226
>                 URL: https://issues.apache.org/jira/browse/HIVE-10226
>             Project: Hive
>          Issue Type: Bug
>          Components: Statistics
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-10226.1.patch, HIVE-10226.2.patch
>
>
> {noformat}
> hive> explain analyze table revenues compute statistics for columns;
> 2015-03-30 23:47:45,133 ERROR [main()]: ql.Driver 
> (SessionState.java:printError(951)) - FAILED: UDFArgumentTypeException Only 
> integer/long/timestamp/float/double/string/binary/boolean/decimal type 
> argument is accepted but date is passed.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to