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

'IN' operator causing problems when used with order by on a hive table backed by avro data

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      git.commit.id.abbrev=a1a6144
      build# 26266

      the below query fails to execute and the details of the error are present in the attached log file. The hive table is backed by avro data. The hive ddl used is also attached.

      select seqno from hive.trade where symbol in ('TZA', 'INDL') order by seqno;

      Tested the same query on a different data set using parquet and it has no issues
      select adRevenue from uservisits where countryCode in ('NLD', 'FRA') order by adRevenue;

      Attachments

        1. DRILL-1092.patch
          6 kB
          Mehant Baid
        2. error.log
          11 kB
          Rahul Kumar Challapalli
        3. plan_failure.txt
          7 kB
          Rahul Kumar Challapalli
        4. plan_success.txt
          6 kB
          Rahul Kumar Challapalli
        5. trade (3).ddl
          2 kB
          Rahul Kumar Challapalli

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment