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

Column alias are ignored when Storage Plugin is enabled

    XMLWordPrintableJSON

Details

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

    Description

      Drill ignores column aliases when a JDBC storage plugin is enabled.

      If I execute 'select destination as x from ...some.csv' the column name appears as 'destination' instead of 'x' while JDBC storage plugin is enabled. On disabling the storage plugin, drill returns the results with aliased name 'x'.

      This could be related to https://issues.apache.org/jira/browse/DRILL-4903, where results return the implicit columns(fqn,filepath etc..) as well.

      Attachments

        Issue Links

          Activity

            People

              arina Arina Ielchiieva
              rajrahul Rahul Raj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: