From 00527a5a0c35c0b292348a6b90110de22d8106c5 Mon Sep 17 00:00:00 2001 From: Peilin Yang Date: Mon, 22 Aug 2016 12:40:24 -0700 Subject: [PATCH 1/2] fix ZEPPELIN/1356 --- zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js index c2bc8e64cb6..22b72ae28d6 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js @@ -1835,7 +1835,7 @@ angular.module('zeppelinWebApp').controller('ParagraphCtrl', function($scope, $r if (groups.length === 1 && values.length === 1) { for (d3gIndex = 0; d3gIndex < d3g.length; d3gIndex++) { colName = d3g[d3gIndex].key; - colName = colName.split('.')[0]; + colName = colName.split('.').slice(0, -1).join('.'); // [ZEPPELIN-1356]: in case the column contains period d3g[d3gIndex].key = colName; } } From 5dcf157f15f665ca27bd8802330a0a6e403d6a71 Mon Sep 17 00:00:00 2001 From: Peilin Yang Date: Thu, 25 Aug 2016 19:51:05 -0700 Subject: [PATCH 2/2] remove comment --- zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js index 22b72ae28d6..eab07248a2b 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js @@ -1835,7 +1835,7 @@ angular.module('zeppelinWebApp').controller('ParagraphCtrl', function($scope, $r if (groups.length === 1 && values.length === 1) { for (d3gIndex = 0; d3gIndex < d3g.length; d3gIndex++) { colName = d3g[d3gIndex].key; - colName = colName.split('.').slice(0, -1).join('.'); // [ZEPPELIN-1356]: in case the column contains period + colName = colName.split('.').slice(0, -1).join('.'); d3g[d3gIndex].key = colName; } }