You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Suma Shivaprasad (JIRA)" <ji...@apache.org> on 2016/06/10 00:32:21 UTC

[jira] [Commented] (ATLAS-889) alter table touch is not handled

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

Suma Shivaprasad commented on ATLAS-889:
----------------------------------------

from hive docs,

TOUCH reads the metadata, and writes it back. This has the effect of causing the pre/post execute hooks to fire. An example use case is if you have a hook that logs all the tables/partitions that were modified, along with an external script that alters the files on HDFS directly. Since the script modifies files outside of hive, the modification wouldn't be logged by the hook. The external script could call TOUCH to fire the hook and mark the said table or partition as modified.

> alter table touch is not handled
> --------------------------------
>
>                 Key: ATLAS-889
>                 URL: https://issues.apache.org/jira/browse/ATLAS-889
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Suma Shivaprasad
>            Assignee: Suma Shivaprasad
>             Fix For: 0.7-incubating
>
>
> Alter table touch could be used to cause atlas to import a table which could have been missed earlier due to some issue. This could be used as a trigger mechanism to import them without altering the table significantly



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