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

Specific query returns an exception if filter a boolean column by "equals" operator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:

      Description

      Data:
      Use the attached dataset

      Query:

       select *
       from dfs.tmp.`Test_data`
       where bool_col = true and part_col in ('Partition_two')
      

      Expected result:
      The query should return result normally

      Actual result:
      Exception happens:

      Error: SYSTEM ERROR: ClassCastException: org.apache.drill.common.expression.TypedFieldExpr cannot be cast to org.apache.drill.exec.expr.stat.ParquetFilterPredicate
      

      Notes:
      It works OK if use "is" operator or if not use "*" in the select statement

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arina Arina Ielchiieva
                Reporter:
                angozhiy Anton Gozhiy
                Reviewer:
                Volodymyr Vysotskyi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: