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

Drill View aliases being lost via ‘order by’

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Labels:
      None

      Description

      Drill view aliases being lost via ‘order by’ in select query:

      -----------------------------------------------------------------------------------
      Query-1: select * from factory.View.vw_factory_data_summary
      -----------------------------------------------------------------------------------
      yr mth RecordCount
      2015 Jan 32467890
      2015 Feb 44751224
      2015 Mar 76564531

      ----------------------------------------------------------------------------------------------------
      Query-2: select * from factory.View.vw_factory_data_summary order by mth
      ----------------------------------------------------------------------------------------------------
      dir0 dir1 RecordCount
      2015 Jan 32467890
      2015 Feb 44751224
      2015 Mar 76564531

      Issue:
      In Query-2, column headers are changed i.e. aliases being lost

        Attachments

          Activity

            People

            • Assignee:
              seanhychu Sean Hsuan-Yi Chu
              Reporter:
              soumendra Soumendra Kumar Mishra
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: