Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EC351007E for ; Thu, 26 Sep 2013 01:29:24 +0000 (UTC) Received: (qmail 67634 invoked by uid 500); 26 Sep 2013 01:29:24 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 67601 invoked by uid 500); 26 Sep 2013 01:29:24 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 67592 invoked by uid 99); 26 Sep 2013 01:29:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 01:29:24 +0000 X-ASF-Spam-Status: No, hits=-2002.3 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Sep 2013 01:29:23 +0000 Received: (qmail 65835 invoked by uid 99); 26 Sep 2013 01:29:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 01:29:02 +0000 Date: Thu, 26 Sep 2013 01:29:02 +0000 (UTC) From: "Jinho Kim (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (TAJO-189) LazyTuple should return NullDatum if a column value is null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAJO-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinho Kim reassigned TAJO-189: ------------------------------ Assignee: Jinho Kim > LazyTuple should return NullDatum if a column value is null > ----------------------------------------------------------- > > Key: TAJO-189 > URL: https://issues.apache.org/jira/browse/TAJO-189 > Project: Tajo > Issue Type: Bug > Components: physical operator > Reporter: Hyunsik Choi > Assignee: Jinho Kim > Priority: Blocker > Fix For: 0.2-incubating > > > When a query including LIKE expression is executed, LikeEval causes the following NPE if a operand value is NULL. This is because BinaryEval and EvalNodes assume that NullDatum comes when it is null. We need to fix it. > {noformat} > 2013-09-17 16:20:36,074 INFO worker.TaskRunner (TaskRunner.java:run(300)) - Request GetTask: eb_1379402400673_0001_000001,container_1379402400673_0001_01_000025 > 2013-09-17 16:20:36,238 ERROR worker.Task (Task.java:run(388)) - java.lang.NullPointerException > at org.apache.tajo.engine.eval.BinaryEval.terminate(BinaryEval.java:158) > at org.apache.tajo.engine.eval.BinaryEval.terminate(BinaryEval.java:151) > at org.apache.tajo.engine.planner.physical.SeqScanExec.next(SeqScanExec.java:118) > at org.apache.tajo.engine.planner.physical.ProjectionExec.next(ProjectionExec.java:57) > at org.apache.tajo.engine.planner.physical.StoreTableExec.next(StoreTableExec.java:80) > at org.apache.tajo.worker.Task.run(Task.java:380) > at org.apache.tajo.worker.TaskRunner$2.run(TaskRunner.java:357) > at java.lang.Thread.run(Thread.java:662) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira