Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7997518555 for ; Wed, 2 Mar 2016 14:56:18 +0000 (UTC) Received: (qmail 2846 invoked by uid 500); 2 Mar 2016 14:56:18 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 2789 invoked by uid 500); 2 Mar 2016 14:56:18 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 2731 invoked by uid 99); 2 Mar 2016 14:56:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 14:56:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 33C092C1F68 for ; Wed, 2 Mar 2016 14:56:18 +0000 (UTC) Date: Wed, 2 Mar 2016 14:56:18 +0000 (UTC) From: "Harish Butani (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13112) Expose Lineage information in case of CTAS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-13112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harish Butani updated HIVE-13112: --------------------------------- Status: Patch Available (was: Open) > Expose Lineage information in case of CTAS > ------------------------------------------ > > Key: HIVE-13112 > URL: https://issues.apache.org/jira/browse/HIVE-13112 > Project: Hive > Issue Type: Bug > Reporter: Harish Butani > Assignee: Harish Butani > Attachments: HIVE-13112.01.patch > > > This is not happening because Lineage is being exposed by MoveTask which checks for a LoadTableDesc. In case of CTAS the table is created after the MoveTask. > Proposed solution is to add a flag to CreateTableDesc to track a CTAS operation, and have the DDLTask expose the lineage if this flag is set. -- This message was sent by Atlassian JIRA (v6.3.4#6332)