[
https://issues.apache.org/jira/browse/HIVE-7053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xuefu Zhang updated HIVE-7053:
------------------------------
Attachment: HIVE-7053.patch
> Unable to fetch column stats from decimal columns
> -------------------------------------------------
>
> Key: HIVE-7053
> URL: https://issues.apache.org/jira/browse/HIVE-7053
> Project: Hive
> Issue Type: Bug
> Components: Statistics
> Affects Versions: 0.13.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Attachments: HIVE-7053.patch
>
>
> After HIVE-6701, column stats for decimal columns can be computed. However,
> when the stats are fetched, nothing is returned. The problem was originally
> reproducible using thrift API. With the patch in HIVE-7050, the problem can
> be also produced using "desc formatted table column".
> {code}
> hive> desc formatted dec i;
> OK
> # col_name data_type min
> max num_nulls distinct_count
> avg_col_len max_col_len num_trues
> num_falses comment
>
>
> i int 0 4
> 0 5 null
> null null null
> from deserializer
> hive> desc formatted dec d;
> OK
> # col_name data_type min
> max num_nulls distinct_count
> avg_col_len max_col_len num_trues
> num_falses comment
>
>
> d decimal(5,2) from deserializer
>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)