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 254CD17BE7 for ; Tue, 28 Oct 2014 22:08:34 +0000 (UTC) Received: (qmail 88423 invoked by uid 500); 28 Oct 2014 22:08:34 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 88377 invoked by uid 500); 28 Oct 2014 22:08:34 -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 88219 invoked by uid 99); 28 Oct 2014 22:08:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2014 22:08:34 +0000 Date: Tue, 28 Oct 2014 22:08:33 +0000 (UTC) From: "Michael Armbrust (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-3683) PySpark Hive query generates "NULL" instead of None 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-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187570#comment-14187570 ] Michael Armbrust commented on SPARK-3683: ----------------------------------------- Good find! [~jamborta] if you can give code that shows Hive does interpret this as null I'd consider adding it back for compatibility otherwise it seems like this is expected behavior. /cc [~liancheng] > PySpark Hive query generates "NULL" instead of None > --------------------------------------------------- > > Key: SPARK-3683 > URL: https://issues.apache.org/jira/browse/SPARK-3683 > Project: Spark > Issue Type: Bug > Components: PySpark, SQL > Affects Versions: 1.1.0 > Reporter: Tamas Jambor > Assignee: Davies Liu > > When I run a Hive query in Spark SQL, I get the new Row object, where it does not convert Hive NULL into Python None instead it keeps it string 'NULL'. > It's only an issue with String type, works with other types. -- 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