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 5A1E217933 for ; Wed, 22 Apr 2015 03:30:59 +0000 (UTC) Received: (qmail 18532 invoked by uid 500); 22 Apr 2015 03:30:59 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 18503 invoked by uid 500); 22 Apr 2015 03:30:58 -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 18493 invoked by uid 99); 22 Apr 2015 03:30:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2015 03:30:58 +0000 Date: Wed, 22 Apr 2015 03:30:58 +0000 (UTC) From: "Yi Zhou (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-7044) [Spark SQL] query would hang when using scripts in SQL statement 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-7044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yi Zhou updated SPARK-7044: --------------------------- Description: Query with 'USING' operator like below would hang when using scripts in SQL statement INSERT INTO TABLE ${hiveconf:RESULT_TABLE} SELECT pid1, pid2, COUNT (*) AS cnt FROM ( --Make items basket FROM ( -- Joining two tables SELECT s.ss_ticket_number AS oid , s.ss_item_sk AS pid FROM store_sales s INNER JOIN item i ON (s.ss_item_sk = i.i_item_sk) WHERE i.i_category_id in (${hiveconf:q01_i_category_id_IN}) AND s.ss_store_sk in (${hiveconf:q01_ss_store_sk_IN}) CLUSTER BY oid ) q01_map_output REDUCE q01_map_output.oid, q01_map_output.pid USING '${env:BIG_BENCH_JAVA} ${env:BIG_BENCH_java_child_process_xmx} -cp bigbenchqueriesmr.jar de.bankmark.bigbench.queries.q01.Red -ITEM_SET_MAX ${hiveconf:q01_NPATH_ITEM_SET_MAX} ' AS (pid1 BIGINT, pid2 BIGINT) ) q01_temp_basket was: query with 'USING' operator would hang when using scripts in SQL statement INSERT INTO TABLE ${hiveconf:RESULT_TABLE} SELECT pid1, pid2, COUNT (*) AS cnt FROM ( --Make items basket FROM ( -- Joining two tables SELECT s.ss_ticket_number AS oid , s.ss_item_sk AS pid FROM store_sales s INNER JOIN item i ON (s.ss_item_sk = i.i_item_sk) WHERE i.i_category_id in (${hiveconf:q01_i_category_id_IN}) AND s.ss_store_sk in (${hiveconf:q01_ss_store_sk_IN}) CLUSTER BY oid ) q01_map_output REDUCE q01_map_output.oid, q01_map_output.pid USING '${env:BIG_BENCH_JAVA} ${env:BIG_BENCH_java_child_process_xmx} -cp bigbenchqueriesmr.jar de.bankmark.bigbench.queries.q01.Red -ITEM_SET_MAX ${hiveconf:q01_NPATH_ITEM_SET_MAX} ' AS (pid1 BIGINT, pid2 BIGINT) ) q01_temp_basket > [Spark SQL] query would hang when using scripts in SQL statement > ---------------------------------------------------------------- > > Key: SPARK-7044 > URL: https://issues.apache.org/jira/browse/SPARK-7044 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Yi Zhou > > Query with 'USING' operator like below would hang when using scripts in SQL statement > INSERT INTO TABLE ${hiveconf:RESULT_TABLE} > SELECT pid1, pid2, COUNT (*) AS cnt > FROM ( > --Make items basket > FROM ( > -- Joining two tables > SELECT s.ss_ticket_number AS oid , s.ss_item_sk AS pid > FROM store_sales s > INNER JOIN item i ON (s.ss_item_sk = i.i_item_sk) > WHERE i.i_category_id in (${hiveconf:q01_i_category_id_IN}) > AND s.ss_store_sk in (${hiveconf:q01_ss_store_sk_IN}) > CLUSTER BY oid > ) q01_map_output > REDUCE q01_map_output.oid, q01_map_output.pid > USING '${env:BIG_BENCH_JAVA} ${env:BIG_BENCH_java_child_process_xmx} -cp bigbenchqueriesmr.jar de.bankmark.bigbench.queries.q01.Red -ITEM_SET_MAX ${hiveconf:q01_NPATH_ITEM_SET_MAX} ' > AS (pid1 BIGINT, pid2 BIGINT) > ) q01_temp_basket -- 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