Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3639

Internal error: Error while applying rule PruneScanRule:Filter_On_Scan_Parquet

    XMLWordPrintableJSON

Details

    Description

      exception:
      (org.apache.drill.exec.work.foreman.ForemanException) Unexpected exception during fragment initialization: Internal error: Error while applying rule PruneScanRule:Filter_On_Scan_Parquet
      Caused By (java.lang.AssertionError) null
      org.apache.drill.exec.expr.fn.interpreter.InterpreterEvaluator$EvalVisitor.isBitOn():490
      org.apache.drill.exec.expr.fn.interpreter.InterpreterEvaluator$EvalVisitor.visitBooleanAnd():434
      org.apache.drill.exec.expr.fn.interpreter.InterpreterEvaluator$EvalVisitor.visitBooleanOperator():332
      org.apache.drill.exec.expr.fn.interpreter.InterpreterEvaluator$EvalVisitor.visitBooleanOperator():147
      org.apache.drill.common.expression.BooleanOperator.accept():36

      my sql:
      select col1 from hdfs.root.`/dir/table1` where col2<cast('222222222.0' as double) and col3=101 limit 10

      col2 is not a partition column and col3 is a partition column, so the FindPartitionConditions get a wrong condition like 'AND(CAST('222222222.0'):DOUBLE NOT NULL, =($1, 101))'

      Attachments

        Issue Links

          Activity

            People

              jni Jinfeng Ni
              徐波 徐波
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: