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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.11.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: