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