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

Inconsistent order of the fields between the SQL query and results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      Performed the following query and expect the results to have the same order of fields specified in query i.e l_returnflag first followed by l_linestatus followed by count. Currently the order is not obeyed.

      0: jdbc:drill:> select l_returnflag,l_linestatus, count from lineitem group by l_returnflag, l_linestatus order by l_returnflag,l_linestatus;
      ------------------------------------

      EXPR$2 l_returnflag l_linestatus

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

      147790 A F
      3765 N F
      0 N O
      300716 N O
      148301 R F

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            Neeraja Neeraja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: