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

Column alias are ignored when Storage Plugin is enabled

    XMLWordPrintableJSON

    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:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: