zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject incubator-zeppelin git commit: ZEPPELIN-88: Group label truncated when containing periods
Date Tue, 02 Jun 2015 21:52:12 GMT
Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master b74bdb66f -> fa61a054f


ZEPPELIN-88: Group label truncated when containing periods

Fix column name for group.

Author: Emmanuelle Raffenne <eraffenne@keedio.com>

Closes #82 from eraffenne/bugfix/zeppelin-88 and squashes the following commits:

2524ddb [Emmanuelle Raffenne] Fix column name for group.


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

Branch: refs/heads/master
Commit: fa61a054fe6ab32d506bc034540ff3191c59034e
Parents: b74bdb6
Author: Emmanuelle Raffenne <eraffenne@keedio.com>
Authored: Tue May 26 14:44:53 2015 +0200
Committer: Lee moon soo <moon@apache.org>
Committed: Wed Jun 3 06:52:04 2015 +0900

----------------------------------------------------------------------
 zeppelin-web/app/scripts/controllers/paragraph.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/fa61a054/zeppelin-web/app/scripts/controllers/paragraph.js
----------------------------------------------------------------------
diff --git a/zeppelin-web/app/scripts/controllers/paragraph.js b/zeppelin-web/app/scripts/controllers/paragraph.js
index bb8e19d..e332e60 100644
--- a/zeppelin-web/app/scripts/controllers/paragraph.js
+++ b/zeppelin-web/app/scripts/controllers/paragraph.js
@@ -1346,7 +1346,7 @@ angular.module('zeppelinWebApp')
       if (groups.length === 1 && values.length === 1) {
         for (d3gIndex = 0; d3gIndex < d3g.length; d3gIndex++) {
           var colName = d3g[d3gIndex].key;
-          colName = colName.split('.')[0];
+          colName = colName.substring(0, colName.lastIndexOf("."));
           d3g[d3gIndex].key = colName;
         }
       }


Mime
View raw message