[ 
https://issues.apache.org/jira/browse/HIVE-12730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073337#comment-15073337
 ] 

Ashutosh Chauhan commented on HIVE-12730:
-----------------------------------------

* Currently grammar doesn't allow any storage of user properties in partitions. 
This is a conscious decision. Lets do this in separate jira to make sure we 
want to do this. To achieve objective of this jira (of allowing user to update 
basic stats for partitions) lets consider alternative syntaxes.

* This passing of config variable to determine how stats are generated is hacky 
way. Cleaner approach is to modify the api from metastore client to server to 
clearly indicate whether to reset stats or not.  

> MetadataUpdater: provide a mechanism to edit the basic statistics of a table 
> (or a partition)
> ---------------------------------------------------------------------------------------------
>
>                 Key: HIVE-12730
>                 URL: https://issues.apache.org/jira/browse/HIVE-12730
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-12730.01.patch
>
>
> We would like to provide a way for developers/users to modify the numRows and 
> dataSize for a table/partition. Right now although they are part of the table 
> properties, they will be set to -1 when the task is not coming from a 
> statsTask. 



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

Reply via email to