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 1B7F21899A for ; Thu, 7 Jan 2016 16:43:40 +0000 (UTC) Received: (qmail 78655 invoked by uid 500); 7 Jan 2016 16:43:40 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 78617 invoked by uid 500); 7 Jan 2016 16:43: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 78589 invoked by uid 99); 7 Jan 2016 16:43:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2016 16:43:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DAC352C0453 for ; Thu, 7 Jan 2016 16:43:39 +0000 (UTC) Date: Thu, 7 Jan 2016 16:43:39 +0000 (UTC) From: "Hans Fischer (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (SPARK-11214) Join with Unicode-String results wrong empty 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-11214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hans Fischer reopened SPARK-11214: ---------------------------------- Guys, I have a reason for the joining Problem. Use this code in pyspark: from pyspark import SparkContext, SparkConf from pyspark.sql import HiveContext conf = (SparkConf() .setAppName("joining_test") .setMaster("yarn-client") .set("spark.driver.cores", "20") .set("spark.driver.memory", "50g") .set("spark.driver.maxResultSize", "0") .set("spark.num.executors", "5") .set("spark.executor.cores", "10") # .set("spark.executor.memory", "40G") ) sc = SparkContext(conf=conf) hiveContext = HiveContext(sc) hiveContext.sql('SELECT * FROM (SELECT "a" AS a) AS a JOIN (SELECT "a" AS b) AS b ON a.a = b.b').take(10) When ".set("spark.executor.memory", "40G")" is commented out the result will be right. When the executor momory is set the result will be empty. Could somebody validate this? Thank you > Join with Unicode-String results wrong empty > -------------------------------------------- > > Key: SPARK-11214 > URL: https://issues.apache.org/jira/browse/SPARK-11214 > Project: Spark > Issue Type: Bug > Components: PySpark, SQL > Affects Versions: 1.5.0 > Reporter: Hans Fischer > Assignee: Josh Rosen > Priority: Critical > Fix For: 1.5.1 > > > I created a join that should clearly result in a single row but return: empty. Could someone validate this bug? > hiveContext.sql('SELECT * FROM (SELECT "c" AS a) AS a JOIN (SELECT "c" AS b) AS b ON a.a = b.b').take(10) > result: [] > kind regards > Hans -- 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