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 35AE5197B0 for ; Fri, 29 Apr 2016 17:13:13 +0000 (UTC) Received: (qmail 48698 invoked by uid 500); 29 Apr 2016 17:13:13 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 48661 invoked by uid 500); 29 Apr 2016 17:13:13 -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 48644 invoked by uid 99); 29 Apr 2016 17:13:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 17:13:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 05BBF2C1F5C for ; Fri, 29 Apr 2016 17:13:13 +0000 (UTC) Date: Fri, 29 Apr 2016 17:13:13 +0000 (UTC) From: "Sean Owen (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SPARK-15007) Usage of Temp Table twice in Hive query 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-15007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Owen resolved SPARK-15007. ------------------------------- Resolution: Duplicate > Usage of Temp Table twice in Hive query > ---------------------------------------- > > Key: SPARK-15007 > URL: https://issues.apache.org/jira/browse/SPARK-15007 > Project: Spark > Issue Type: Wish > Components: SQL > Reporter: dciborow > > Currently one can not call a temp table twice from within the same hive query. > Typically if the Hive query contains these, it can be rewritten to remove the second reference to the table. Some systems, like Tableau, generate hive queries the contain these types of un-optimized queries, that could not be used by Spark. > The SQL engine for Spark should be able to handle two calls to the same temp table from within a single query. -- 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