GitHub user liguohuicmss opened a pull request:
https://github.com/apache/zeppelin/pull/2685
Fix unqiue algo for the web side in pivot.js file.
### What is this PR for?
unique() algorithm is not correct in pivot.js file.
If the input is `[2, 3, 3, 3, 4, 5]` and the output will be `[2, 3, 3, 4,
5]`. The number `3` is still duplicated.
### What type of PR is it?
[Bug Fix]
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3075 [ZEPPELIN-3075]
### How should this be tested?
This is very easy and no need test.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liguohuicmss/zeppelin pivot-unqiue-algo
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2685.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2685
----
commit 943e80a96f492267b51392bd7df6dc9a32a0fe1a
Author: liguohui <[email protected]>
Date: 2017-11-23T13:28:50Z
Fix unqiue algo for the web side in pivot.js file.
----
---