Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40C437001 for ; Fri, 15 Jul 2011 00:04:26 +0000 (UTC) Received: (qmail 30111 invoked by uid 500); 15 Jul 2011 00:04:25 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 30035 invoked by uid 500); 15 Jul 2011 00:04:25 -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 30025 invoked by uid 500); 15 Jul 2011 00:04:25 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 30022 invoked by uid 99); 15 Jul 2011 00:04:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 00:04:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 00:04:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8CE0858AD6 for ; Fri, 15 Jul 2011 00:04:01 +0000 (UTC) Date: Fri, 15 Jul 2011 00:04:01 +0000 (UTC) From: "Charles Chen (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <996645418.15544.1310688241573.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-1218) CREATE TABLE t LIKE some_view should create a new empty base table, but instead creates a copy of view MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Charles Chen updated HIVE-1218: ------------------------------- Status: Open (was: Patch Available) > CREATE TABLE t LIKE some_view should create a new empty base table, but instead creates a copy of view > ------------------------------------------------------------------------------------------------------ > > Key: HIVE-1218 > URL: https://issues.apache.org/jira/browse/HIVE-1218 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.6.0 > Reporter: John Sichi > Assignee: Charles Chen > Fix For: 0.8.0 > > Attachments: HIVE-1218v0.patch, HIVE-1218v2.patch, HIVE-1218v3.patch, HIVE-1218v4.patch, HIVE-1218v5.patch > > > I think it should copy only the column definitions from the view metadata. Currently it is copying the entire descriptor, resulting in a new view instead of a new base table. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira