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

Selecting individual columns from views created using 'select * ......' query throws an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • SQL Parser
    • None

    Description

      git.commit.id.abbrev=70fab8c

      Follow the below steps :

      create view v1 as select * from `dfs/parquet/rankings`;
      select pageRank from v1;

      The query fails with the below error :

      message: "Failure while parsing sql. < IndexOutOfBoundsException:[ Index: 1, Size: 1 ]"

      This looks like a known issue. However I couldn't find any bug related to it.

      Attachments

        1. rankings.parquet
          322 kB
          Rahul Kumar Challapalli

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: