Hive
  1. Hive
  2. HIVE-2330

Allow tables to warn on querying

    Details

    • Type: Wish Wish
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        John Sichi added a comment -

        It might be possible to write a hook to accomplish this.

        Show
        John Sichi added a comment - It might be possible to write a hook to accomplish this.

          People

          • Assignee:
            Unassigned
            Reporter:
            Adam Kramer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development