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

Add a new hook triggers before query compilation and after query execution

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      In some cases we may need to have a hook that activates before a query compilation and after its execution. For instance, dynamically generate a UDF specifically for the running query and clean up the resource after the query is done. The current hooks only covers pre & post semantic analysis, pre & post query execution, which doesn't fit the requirement.

        Attachments

        1. HIVE-14340.0.patch
          14 kB
          Chao Sun
        2. HIVE-14340.1.patch
          21 kB
          Chao Sun
        3. HIVE-14340.2.patch
          21 kB
          Chao Sun

          Issue Links

            Activity

              People

              • Assignee:
                csun Chao Sun
                Reporter:
                csun Chao Sun
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: