tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAJO-273) NotEval incurs NPE with boolean column
Date Tue, 22 Oct 2013 02:17:41 GMT

     [ https://issues.apache.org/jira/browse/TAJO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hyunsik Choi updated TAJO-273:
------------------------------

    Attachment: TAJO-273_3.patch

I've uploaded the third patch that fixes some potential bugs.

> NotEval incurs NPE with boolean column
> --------------------------------------
>
>                 Key: TAJO-273
>                 URL: https://issues.apache.org/jira/browse/TAJO-273
>             Project: Tajo
>          Issue Type: Bug
>          Components: planner/optimizer
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Trivial
>             Fix For: 0.2-incubating, 0.3-incubating
>
>         Attachments: TAJO-273_2.patch, TAJO-273_3.patch, TAJO-273.patch
>
>
> {code}
> tajo> select * from bool_test where col1 is false;
> java.lang.NullPointerException
>         at org.apache.tajo.engine.eval.NotEval.postOrder(NotEval.java:91)
>         at org.apache.tajo.engine.eval.EvalTreeUtil.findDistinctRefColumns(EvalTreeUtil.java:74)
>         at org.apache.tajo.engine.planner.PlannerUtil.canBeEvaluated(PlannerUtil.java:307)
>         at org.apache.tajo.engine.planner.rewrite.FilterPushDownRule.visitScan(FilterPushDownRule.java:238)
>         at org.apache.tajo.engine.planner.rewrite.FilterPushDownRule.visitScan(FilterPushDownRule.java:38)
>         at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visitChild(BasicLogicalPlanVisitor.java:93)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message