You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2018/02/09 13:33:11 UTC

kylin git commit: KYLIN-3242

Repository: kylin
Updated Branches:
  refs/heads/master 509906641 -> da0e6b04a


KYLIN-3242

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


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

Branch: refs/heads/master
Commit: da0e6b04a67e9dbe6adc7ed35bcdb25dae247eb2
Parents: 5099066
Author: peng.jianhua <pe...@zte.com.cn>
Authored: Tue Feb 6 13:31:44 2018 +0800
Committer: Billy Liu <bi...@apache.org>
Committed: Fri Feb 9 21:32:44 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/da0e6b04/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()];