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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

          Activity

            People

            • Assignee:
              arina Arina Ielchiieva
              Reporter:
              angozhiy Anton Gozhiy
              Reviewer:
              Vova Vysotskyi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment