Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-273

NotEval incurs NPE with boolean column

    XMLWordPrintableJSON

Details

    Description

      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)
      

      Attachments

        1. TAJO-273_3.patch
          7 kB
          Hyunsik Choi
        2. TAJO-273_2.patch
          7 kB
          Hyunsik Choi
        3. TAJO-273.patch
          6 kB
          Hyunsik Choi

        Issue Links

          Activity

            People

              hyunsik Hyunsik Choi
              hyunsik Hyunsik Choi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: