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

Add a pre execution hook to ql

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There may be cases where user defined logic needs to be executed between the compilation and execution phases of a query. One simple example that we ran into is based on archival. If an external utility archives table partitions of example, then a plugin logic can check that for the partitions and take suitable action such as:

      • Unarchiving the partition seemlessly
      • Throwing an error

      etc..

      This same framework can also be used for updating query compilation stats.

        Attachments

        1. patch-463.txt
          550 kB
          Ashish Thusoo
        2. patch-463_2.txt
          560 kB
          Ashish Thusoo
        3. patch-463_3.txt
          561 kB
          Ashish Thusoo
        4. patch-463_4.txt
          568 kB
          Ashish Thusoo
        5. patch-463_5.txt
          568 kB
          Ashish Thusoo
        6. patch-463_6.txt
          588 kB
          Ashish Thusoo
        7. patch-463_7.txt
          574 kB
          Ashish Thusoo
        8. patch-463_8.txt
          586 kB
          Ashish Thusoo

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: