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

Queries using "where" filter followed by "IN" operator over JSON data fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Storage - JSON
    • None

    Description

      git.commit.id.abbrev=98b208e

      Below is the simplified query which is producing the issue

      select
        o.o_orderkey
      from
        orders o
      where
        o.o_orderkey in (
          select
            l_orderkey
          from
            lineitem
        );
      
      Query failed: Failure while running fragment. Unexpected project expression or reference [afdf541d-56c2-4f4e-a107-8a0ab6169ba2]
      

      This issue is affecting TPCH queries 16 and 18. I attached the complete TPCH queries, data files and the error log

      Attachments

        1. query18.q
          0.5 kB
          Rahul Kumar Challapalli
        2. error.log
          10 kB
          Rahul Kumar Challapalli

        Activity

          People

            DrillCommitter DrillCommitter
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: