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

Add queryid in QueryLifeTimeHookContext

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Hooks

    Description

      A QueryLifeTimeHook is executed various times in the life-cycle of a query but it is not always possible to obtain the id of the query. The query id is inside the HookContext but the latter is not always available notably during compilation.

      The query id is useful for many purposes as it is the only way to uniquely identify the query/command that is currently running. It is also the only way to match together events appearing in before and after methods.

      The goal of this jira is to add the query id in QueryLifeTimeHookContext and make it available during all life-cycle events.

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m