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 C570C200BE9 for ; Mon, 26 Dec 2016 11:51:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C4040160B3B; Mon, 26 Dec 2016 10:51:19 +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 3ED5B160B2A for ; Mon, 26 Dec 2016 11:51:19 +0100 (CET) Received: (qmail 802 invoked by uid 500); 26 Dec 2016 10:51:18 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 791 invoked by uid 99); 26 Dec 2016 10:51:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2016 10:51:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 228DCDFBE9; Mon, 26 Dec 2016 10:51:18 +0000 (UTC) From: cloud-fan To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark issue #16296: [SPARK-18885][SQL] unify CREATE TABLE syntax for data so... Content-Type: text/plain Message-Id: <20161226105118.228DCDFBE9@git1-us-west.apache.org> Date: Mon, 26 Dec 2016 10:51:18 +0000 (UTC) archived-at: Mon, 26 Dec 2016 10:51:20 -0000 Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/16296 > CREATE TEMPORARY TABLE is not supported for all the types of hive serde tables. However, in CREATE TEMPORARY TABLE is allowed for creating data souce tables if AS query is not specified. `CREATE TEMPORARY TABLE` is also not allowed for data source tables, we will convert it to temp view and give an error message. Can we remove it in spark 2.2? cc @yhuai @liancheng > Hive does not allow to use a CTAS statement to create a partitioned table, but we allow it in the Create Data Source table syntax. We can add an extra check to make sure we don't use CTAS to create partitioned table. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org