From issues-return-128344-apmail-spark-issues-archive=spark.apache.org@spark.apache.org Thu Sep 1 01:00:41 2016 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 06A461900B for ; Thu, 1 Sep 2016 01:00:41 +0000 (UTC) Received: (qmail 67261 invoked by uid 500); 1 Sep 2016 01:00:40 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 67129 invoked by uid 500); 1 Sep 2016 01:00:40 -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 67022 invoked by uid 99); 1 Sep 2016 01:00:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2016 01:00:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BF6392C1B79 for ; Thu, 1 Sep 2016 01:00:40 +0000 (UTC) Date: Thu, 1 Sep 2016 01:00:40 +0000 (UTC) From: "Wenchen Fan (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-17180) Unable to Alter the Temporary View Using ALTER VIEW command 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-17180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenchen Fan updated SPARK-17180: -------------------------------- Fix Version/s: 2.0.1 > Unable to Alter the Temporary View Using ALTER VIEW command > ----------------------------------------------------------- > > Key: SPARK-17180 > URL: https://issues.apache.org/jira/browse/SPARK-17180 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.0 > Reporter: Xiao Li > Assignee: Wenchen Fan > Fix For: 2.0.1, 2.1.0 > > > In the current master branch, when users do not specify the database name in the `ALTER VIEW AS SELECT` command, we always try to alter the permanent view even if the temporary view exists. > The expected behavior of `ALTER VIEW AS SELECT` should be like: alters the temporary view if the temp view exists; otherwise, try to alter the permanent view. This order is consistent with another command `DROP VIEW`, since users are unable to specify the keyword TEMPORARY. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org