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

Selecting all columns with filter only returns column specified in where clause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0-m1
    • 0.4.0
    • SQL Parser
    • None

    Description

      In the latest drill merge, select all columns with filters does not return all columns from table. Instead it returns only columns specified in the where clause.

      select * from voter where age < 19;
      ------------

      age

      ------------

      18
      18
      18
      18
      18
      18
      18
      18
      18
      18
      18
      18
      18
      18
      18
      18

      ------------

      select * from voter where name like '%van%' and age < 30;
      ----------------------+

      age name

      ----------------------+

      19 [B@52aadf7b
      25 [B@50362ea3

      ----------------------+

      Attachments

        Issue Links

          Activity

            People

              jnadeau Jacques Nadeau
              knguyen Krystal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: