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/08/09 02:10:12 UTC
[jira] [Commented] (HIVE-7667) handle cast for long in
get_aggr_stats() api for metastore for mysql
[ https://issues.apache.org/jira/browse/HIVE-7667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14091485#comment-14091485 ]
Ashutosh Chauhan commented on HIVE-7667:
----------------------------------------
Without a fix, you are greeted with:
{code}
java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Long
at org.apache.hadoop.hive.metastore.StatObjectConverter.fillColumnStatisticsData(StatObjectConverter.java:380)
at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.prepareCSObj(MetaStoreDirectSql.java:939)
at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.aggrColStatsForPartitions(MetaStoreDirectSql.java:925)
at org.apache.hadoop.hive.metastore.ObjectStore$7.getSqlResult(ObjectStore.java:5913)
at org.apache.hadoop.hive.metastore.ObjectStore$7.getSqlResult(ObjectStore.java:5909)
at org.apache.hadoop.hive.metastore.ObjectStore$GetHelper.run(ObjectStore.java:2208)
at org.apache.hadoop.hive.metastore.ObjectStore.get_aggr_stats_for(ObjectStore.java:5909)
{code}
> handle cast for long in get_aggr_stats() api for metastore for mysql
> --------------------------------------------------------------------
>
> Key: HIVE-7667
> URL: https://issues.apache.org/jira/browse/HIVE-7667
> Project: Hive
> Issue Type: Bug
> Components: Metastore, Statistics
> Affects Versions: 0.14.0
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Attachments: HIVE-7667.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)