You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/06/08 06:57:01 UTC
[jira] [Commented] (HIVE-7053) Unable to fetch column stats from
decimal columns
[ https://issues.apache.org/jira/browse/HIVE-7053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021101#comment-14021101 ]
Ashutosh Chauhan commented on HIVE-7053:
----------------------------------------
+1
> 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)