[ 
https://issues.apache.org/jira/browse/HIVE-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ning Zhang updated HIVE-1394:
-----------------------------

    Attachment: HIVE-1394.2.patch

Added a check in SemanticAnalyzer to throw an exception when HOLD_DDLTIME is 
specified in dynamic partition insert or non-existence static partitions.

A negative test case is also added. 

> do not update transient_lastDdlTime if the partition is modified by a 
> housekeeping operation
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1394
>                 URL: https://issues.apache.org/jira/browse/HIVE-1394
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1394.2.patch, HIVE-1394.patch
>
>
> Currently. purging looks at the hdfs time to see the last time the files got 
> modified.
> It should look at the metastore property instead - these are facebook 
> specific utilities, which do not require any changes to hive.
> However, in some cases, the operation might be performed by some housekeeping 
> job, which should not modify the timestamp.
> Since, hive has no way of knowing the origin of the query, it might be a good 
> idea to add a new hint which specifies that the 
> operation is a cleanup operation, and the timestamp in the metastore need not 
> be touched for that scenario.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to