Repository: kylin
Updated Branches:
  refs/heads/2.3.x 1320de725 -> 7fd5c5d15


KYLIN-3242

Signed-off-by: Billy Liu <billy...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/7fd5c5d1
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/7fd5c5d1
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/7fd5c5d1

Branch: refs/heads/2.3.x
Commit: 7fd5c5d155a15d2a7f0d0f38b64e023769c87a8b
Parents: 1320de7
Author: peng.jianhua <peng.jian...@zte.com.cn>
Authored: Tue Feb 6 13:31:44 2018 +0800
Committer: Billy Liu <billy...@apache.org>
Committed: Fri Feb 9 21:33:26 2018 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/rest/controller/QueryController.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/7fd5c5d1/server-base/src/main/java/org/apache/kylin/rest/controller/QueryController.java
----------------------------------------------------------------------
diff --git 
a/server-base/src/main/java/org/apache/kylin/rest/controller/QueryController.java
 
b/server-base/src/main/java/org/apache/kylin/rest/controller/QueryController.java
index f7c3720..828c674 100644
--- 
a/server-base/src/main/java/org/apache/kylin/rest/controller/QueryController.java
+++ 
b/server-base/src/main/java/org/apache/kylin/rest/controller/QueryController.java
@@ -149,7 +149,7 @@ public class QueryController extends BasicController {
             List<String> headerList = new ArrayList<String>();
 
             for (SelectedColumnMeta column : result.getColumnMetas()) {
-                headerList.add(column.getName());
+                headerList.add(column.getLabel());
             }
 
             String[] headers = new String[headerList.size()];

Reply via email to