This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 8f94ca3 [ZEPPELIN-4367]: Streaming tables are not working anymore 8f94ca3 is described below commit 8f94ca388ed2599b714b9b867c1d221e3a943897 Author: Andrea Santurbano <sant...@gmail.com> AuthorDate: Tue Oct 8 19:34:50 2019 +0200 [ZEPPELIN-4367]: Streaming tables are not working anymore ### What is this PR for? The streaming table support was broken due to [ZEPPELIN-3690] (#3116) fix PR fixes the bug ### What type of PR is it? [Bug Fix] ### Todos * [x] - Fixed the bug ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-4367 ### How should this be tested? You can use the following notebook: https://gist.github.com/conker84/00bedc447041fe4845970d0a29243fb1 ### Screenshots (if appropriate) Following a video that shows the fix in action: ![ZEPPELIN-4367](https://user-images.githubusercontent.com/1833335/66419295-21d6ba00-ea04-11e9-8a86-1b0422b41469.gif) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Andrea Santurbano <sant...@gmail.com> Closes #3477 from conker84/ZEPPELIN-4367 and squashes the following commits: 83df22fd8 [Andrea Santurbano] fixes ZEPPELIN-4367: Streaming tables are not working anymore --- zeppelin-web/src/app/visualization/builtins/visualization-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeppelin-web/src/app/visualization/builtins/visualization-table.js b/zeppelin-web/src/app/visualization/builtins/visualization-table.js index 270a694..7baf2d4 100644 --- a/zeppelin-web/src/app/visualization/builtins/visualization-table.js +++ b/zeppelin-web/src/app/visualization/builtins/visualization-table.js @@ -310,7 +310,7 @@ export default class TableVisualization extends Visualization { const columnNames = columns.map((c) => c.name); let gridData = row.map((r) => { return columnNames.reduce((acc, colName, index) => { - acc[colName] = r[index]; + acc[colName + index] = r[index]; return acc; }, {}); });