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

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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Query Processor
    • 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.2.patch
          21 kB
          Chao Sun
        2. HIVE-14340.1.patch
          21 kB
          Chao Sun
        3. HIVE-14340.0.patch
          14 kB
          Chao Sun

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            csun Chao Sun Assign to me
            csun Chao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment