Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-476

Add getTable and getPartition calls to the ReadEntity and WriteEntity objects in PreExecute hooks.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      table and partition objects are available in pre-execution hook interface.

      Description

      These functions are useful when properties of the tables and partitions have to be modified from the user defined PreExecute hook.

      I will be using it in the archival plugin which automatically unarchives from an archival store and changes the metadata to indicate this fact in the metastore.

        Attachments

        1. patch-476.txt
          2 kB
          Ashish Thusoo

          Activity

            People

            • Assignee:
              athusoo Ashish Thusoo
              Reporter:
              athusoo Ashish Thusoo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: