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 6B32E200B45 for ; Fri, 15 Jul 2016 20:01:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 69B4F160A87; Fri, 15 Jul 2016 18:01: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 DAF19160A57 for ; Fri, 15 Jul 2016 20:01:21 +0200 (CEST) Received: (qmail 57583 invoked by uid 500); 15 Jul 2016 18:01: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 57542 invoked by uid 99); 15 Jul 2016 18:01:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2016 18:01:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9917B2C0032 for ; Fri, 15 Jul 2016 18:01:20 +0000 (UTC) Date: Fri, 15 Jul 2016 18:01:20 +0000 (UTC) From: "Eugene Koifman (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-14250) Move FetchTask.initialize() in Driver from compile() to execute() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 15 Jul 2016 18:01:22 -0000 Eugene Koifman created HIVE-14250: ------------------------------------- Summary: Move FetchTask.initialize() in Driver from compile() to execute() Key: HIVE-14250 URL: https://issues.apache.org/jira/browse/HIVE-14250 Project: Hive Issue Type: Bug Components: Query Planning, Query Processor Affects Versions: 2.1.0, 1.3.0 Reporter: Eugene Koifman Driver.compile(String command, boolean resetTaskIds) has // initialize FetchTask right here if (plan.getFetchTask() != null) { plan.getFetchTask().initialize(queryState, plan, null, ctx.getOpContext()); } It's not clear what the advantage of doing this in compile() vs execute()/runInternal() is. One of the issues this causes is HIVE-14241. HIVE-14241 has workaround but a much better fix is to move initialize() to where it should be. see https://issues.apache.org/jira/browse/HIVE-14241?focusedCommentId=15379774&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15379774 -- This message was sent by Atlassian JIRA (v6.3.4#6332)