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

Add a pre execution hook to ql

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • Query Processor
    • None
    • 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_2.txt
          560 kB
          Ashish Thusoo
        2. patch-463_3.txt
          561 kB
          Ashish Thusoo
        3. patch-463_4.txt
          568 kB
          Ashish Thusoo
        4. patch-463_5.txt
          568 kB
          Ashish Thusoo
        5. patch-463_6.txt
          588 kB
          Ashish Thusoo
        6. patch-463_7.txt
          574 kB
          Ashish Thusoo
        7. patch-463_8.txt
          586 kB
          Ashish Thusoo
        8. patch-463.txt
          550 kB
          Ashish Thusoo

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: