Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55065200B4F for ; Tue, 26 Jul 2016 19:32:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53B4C160A7D; Tue, 26 Jul 2016 17:32:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 922E7160A69 for ; Tue, 26 Jul 2016 19:32:21 +0200 (CEST) Received: (qmail 84225 invoked by uid 500); 26 Jul 2016 17:32:20 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 84192 invoked by uid 99); 26 Jul 2016 17:32:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2016 17:32:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 73FF52C0059 for ; Tue, 26 Jul 2016 17:32:20 +0000 (UTC) Date: Tue, 26 Jul 2016 17:32:20 +0000 (UTC) From: "Chao Sun (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-14340) Add a new hook triggers before query compilation and after query execution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 26 Jul 2016 17:32:22 -0000 Chao Sun created HIVE-14340: ------------------------------- Summary: Add a new hook triggers before query compilation and after query execution Key: HIVE-14340 URL: https://issues.apache.org/jira/browse/HIVE-14340 Project: Hive Issue Type: Improvement Components: Query Processor Affects Versions: 2.2.0 Reporter: Chao Sun Assignee: Chao Sun 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)