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 0F089105AE for ; Tue, 17 Sep 2013 09:24:23 +0000 (UTC) Received: (qmail 85274 invoked by uid 500); 17 Sep 2013 09:24:21 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 85211 invoked by uid 500); 17 Sep 2013 09:24:17 -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 85190 invoked by uid 99); 17 Sep 2013 09:24:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 09:24:16 +0000 X-ASF-Spam-Status: No, hits=-2000.6 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; Tue, 17 Sep 2013 09:24:14 +0000 Received: (qmail 84962 invoked by uid 99); 17 Sep 2013 09:23:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 09:23:52 +0000 Date: Tue, 17 Sep 2013 09:23:51 +0000 (UTC) From: "Hyunsik Choi (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (TAJO-189) LazyTuple should return NullDatum if a column 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 Hyunsik Choi created TAJO-189: --------------------------------- Summary: LazyTuple should return NullDatum if a column is null Key: TAJO-189 URL: https://issues.apache.org/jira/browse/TAJO-189 Project: Tajo Issue Type: Improvement Components: physical operator Reporter: Hyunsik Choi 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