Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-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 489E9113DE for ; Mon, 4 Aug 2014 21:28:13 +0000 (UTC) Received: (qmail 47599 invoked by uid 500); 4 Aug 2014 21:28:12 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 47496 invoked by uid 500); 4 Aug 2014 21:28:12 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 47392 invoked by uid 99); 4 Aug 2014 21:28:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2014 21:28:12 +0000 Date: Mon, 4 Aug 2014 21:28:12 +0000 (UTC) From: "Michael Armbrust (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-2825) Allow creating external tables in metastore 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/SPARK-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085311#comment-14085311 ] Michael Armbrust commented on SPARK-2825: ----------------------------------------- CREATE EXTERNAL TABLE already works as far as I know and should have the same semantics as Hive. The only operation that is not supported is CREATE EXTERNAL TABLE tablename AS SELECT ... This operation is heavier weight than just creating a pointer, since the query needs to be executed to calculate the data. I'd assume that this is for a case when you want to create a new table, but want the data to exist outside of warehouse. > Allow creating external tables in metastore > ------------------------------------------- > > Key: SPARK-2825 > URL: https://issues.apache.org/jira/browse/SPARK-2825 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Aaron Davidson > > External tables are useful for creating a metastore entry that points at pre-existing data. There is an easy workaround to use registerAsTable within SparkSQL itself, but this is only transient, and has to be re-run for every Spark session. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org