Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 66913200C5A for ; Tue, 18 Apr 2017 13:53:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 65336160BA1; Tue, 18 Apr 2017 11:53:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D3DCB160B90 for ; Tue, 18 Apr 2017 13:53:12 +0200 (CEST) Received: (qmail 51202 invoked by uid 500); 18 Apr 2017 11:53:11 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 51191 invoked by uid 99); 18 Apr 2017 11:53:11 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2017 11:53:11 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 41B89DFC70; Tue, 18 Apr 2017 11:53:11 +0000 (UTC) From: koertkuipers To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark issue #17660: [SPARK-20359][SQL] catch NPE in EliminateOuterJoin optim... Content-Type: text/plain Message-Id: <20170418115311.41B89DFC70@git1-us-west.apache.org> Date: Tue, 18 Apr 2017 11:53:11 +0000 (UTC) archived-at: Tue, 18 Apr 2017 11:53:13 -0000 Github user koertkuipers commented on the issue: https://github.com/apache/spark/pull/17660 I see. let me check if making leftHasNonNullPredicate and rightHasNonNullPredicate lazy solves it then On Apr 17, 2017 23:44, "Wenchen Fan" wrote: > I think the root problem is, in EliminateOuterJoin.buildNewJoinType, we > always build leftHasNonNullPredicate and rightHasNonNullPredicate. If > it's left join, only rightHasNonNullPredicate is used, and when building > leftHasNonNullPredicate, we may pass null values to a UDF that is not > supposed to run on null values. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > , or mute > the thread > > . > --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org