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

Display columns alias for queries with sum() when RDBMS storage plugin is enabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.11.0
    • Component/s: None
    • Labels:

      Description

      When RDBMS storage plugin is enabled, alias is not displayed for column with sum function:

      0: jdbc:drill:zk=local> select version, sum(1) as s from sys.version group by version;
      +------------------+------+
      |     version      | $f1  |
      +------------------+------+
      | 1.11.0-SNAPSHOT  | 1    |
      +------------------+------+
      1 row selected (0.444 seconds)
      

      Other functions like avg, count are not affected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arina Arina Ielchiieva
                Reporter:
                arina Arina Ielchiieva
                Reviewer:
                Jinfeng Ni
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: