[
https://issues.apache.org/jira/browse/HIVE-10226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14482151#comment-14482151
]
Gopal V commented on HIVE-10226:
--------------------------------
[~jdere]: Added to my daily build - does this change anything for the metastore?
Confirmed that the compute_stats() UDF gives me useful data for the column
But the stats are not getting saved as my metastore is throwing
{code}
2015-04-06 15:58:44,447 ERROR [pool-3-thread-193]: server.TThreadPoolServer
(TThreadPoolServer.java:run(294)) - Thrift error occurred during processing of
message.
org.apache.thrift.protocol.TProtocolException: Cannot write a TUnion with no
set value!
at org.apache.thrift.TUnion$TUnionStandardScheme.write(TUnion.java:240)
at org.apache.thrift.TUnion$TUnionStandardScheme.write(TUnion.java:213)
at org.apache.thrift.TUnion.write(TUnion.java:152)
at
org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj$ColumnStatisticsObjStandardScheme.write(ColumnStatisticsObj.java:550)
at
org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj$ColumnStatisticsObjStandardScheme.write(ColumnStatisticsObj.java:488)
at
org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj.write(ColumnStatisticsObj.java:414)
{code}
> 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
>
>
> {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)