GitHub user prabhjyotsingh opened a pull request:
https://github.com/apache/zeppelin/pull/3182
[ZEPPELIN-3761] Aliasing is not working with JDBC interperter
### What is this PR for?
Using aliasing to rename the column name is not really working. For
instance, a SELECT like this renames "aircraft" column in output to "something"
in MySQL terminal, but not in Zeppelin:
SELECT aircraft AS something FROM birdstrikes LIMIT 5;
### What type of PR is it?
[Bug Fix]
### What is the Jira issue?
* [ZEPPELIN-3761](https://jira.apache.org/jira/browse/ZEPPELIN-3761)
### How should this be tested?
* Running SQL query with or without alisa should result with the expected
column name.
### Questions:
* Does the licenses files need an update? N/A
* Is there breaking changes for older versions? N/A
* Does this needs documentation? N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-3761
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/3182.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3182
----
commit 65eba973a50f2fb9d4a91f2fe0aab67f8e692aff
Author: Prabhjyot Singh <prabhjyotsingh@...>
Date: 2018-09-19T08:33:00Z
ZEPPELIN-3761: Aliasing is not working with JDBC interperter
Change-Id: Ia2e33bb2b17bcde2ccc9459c4ba2c31afce19fa4
----
---