You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2011/08/01 21:25:09 UTC
[jira] [Commented] (HIVE-2330) Allow tables to warn on querying
[ https://issues.apache.org/jira/browse/HIVE-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073675#comment-13073675 ]
John Sichi commented on HIVE-2330:
----------------------------------
It might be possible to write a hook to accomplish this.
> Allow tables to warn on querying
> --------------------------------
>
> Key: HIVE-2330
> URL: https://issues.apache.org/jira/browse/HIVE-2330
> Project: Hive
> Issue Type: Wish
> Reporter: Adam Kramer
>
> It would be excellent if I could set a TBLPROPERTY like "motd" or "motq" that means "message of the query." This message would then actually print to the CLI or stderr whenever the table was queried.
> Use cases: Warning people that they are querying a deprecated table, or warning people that the table they are querying has sensitive information, or that it is probably already aggregated somewhere.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira