Uh oh!
There was an error while loading. Please reload this page.
ZEPPELIN-830 Improve table display to handle large data - #858
Conversation
prabhjyotsingh
commented
Apr 26, 2016
@r-kamath build fails with Looks like this require selenium test update. |
astroshim
commented
Apr 26, 2016
I passed the build with no problems and functionality is working very well. |
felixcheung
commented
Apr 26, 2016
r-kamath
commented
Apr 27, 2016
#6 and #761 are using jQuery Datatables I've done a basic performance test with 20000x80 rows and columns data and few paragraphs with a subset. |
felixcheung
commented
Apr 27, 2016
We would need export to file feature which seems like is not supported in the free Handsontable version? |
r-kamath
commented
Apr 28, 2016
Right, it is supported only in pro ver. Handsontable's Export feature is in front-end. IMHO export should be a backend feature and will be a good addition to our Notebook REST api. |
| <script src="bower_components/zeroclipboard/dist/ZeroClipboard.js"></script> | ||
| <script src="bower_components/moment/moment.js"></script> | ||
| <script src="bower_components/pikaday/pikaday.js"></script> | ||
| <script src="bower_components/handsontable/dist/handsontable.js"></script> |
There was a problem hiding this comment.
pickaday.js, moment.js, ZeroClipboard.js, pikaday.css are they required to use handsontable?
There was a problem hiding this comment.
ZeroClipboard and pikaday.js are not required, need to see how to remove them from the build.
As of now moment.js is used only for number formatting (7bb508e)
There was a problem hiding this comment.
I was wrong. All three deps are required. Use without pikaday #2841
Leemoonsoo
commented
Apr 28, 2016
r-kamath
commented
Apr 28, 2016
@Leemoonsoo that's in the todo list. Can be done either in FE or in server. Thoughts? |
@Leemoonsoo |
Leemoonsoo
commented
Apr 30, 2016
%html rendering is working nicely! If pickaday.js, moment.js, ZeroClipboard.js are required to use handsontable, they also need to be in 'zeppelin-distribution/src/bin_license/LICENSE' |
r-kamath
commented
May 2, 2016
@Leemoonsoo license doc updated and rebased 2e422ea4fbb22b |
prabhjyotsingh
commented
May 4, 2016
LGTM! nice improvement 👍 |
Leemoonsoo
commented
May 4, 2016
@r-kamath Are there any more works left for unchecked todo item 'UI fixes', in the description of this PR? |
r-kamath
commented
May 4, 2016
@Leemoonsoo the only pending item is the sort header arrow style. Should we try something more stylish ? |
Leemoonsoo
commented
May 4, 2016
Arrow style looks fine. I think it's good to be merged! |
r-kamath
commented
May 4, 2016
@Leemoonsoo cool. I have checked the 'UI fixes'. thanks |
Leemoonsoo
commented
May 4, 2016
Last CI test failure is unrelated to the change. LGTM. |
felixcheung
commented
May 4, 2016
does this PR change the export to CSV capability? |
corneadoug
commented
May 5, 2016
@felixcheung No, There is still no export to CSV feature |
r-kamath
commented
May 5, 2016
@felixcheung this PR is only for improving table performance. CSV/TSV export is in #725 and #714 |
prabhjyotsingh
commented
May 9, 2016
@r-kamath can you resolve branch conflict. |
r-kamath
commented
May 10, 2016
@prabhjyotsingh conflict resolved f13ba91 |
prabhjyotsingh
commented
May 10, 2016
Thanks @r-kamath for contributing towards front-end performance. |
corneadoug
commented
May 10, 2016
Anyway to not have:
included when installing Handsontable? |
r-kamath
commented
May 10, 2016
corneadoug
commented
May 10, 2016
@r-kamathhttps://github.com/handsontable/hot-builder |
r-kamath
commented
May 10, 2016
Not sure if we can avoid those dependencies by choosing hot-builder! |
prabhjyotsingh
commented
May 10, 2016
I would agree with @r-kamath, as long as those dependencies are not been written in bower.json we should be ok. |
I don't get why its not important to have unused additional dependencies in our build, as long as its not in bower.json, maybe somebody can explain more. |
r-kamath
commented
May 10, 2016
@corneadoug Again, this is an issue on handsontable please follow these links. Those entries in index.html should disappear when handsontable team fix the issue. Also it is included in the Improvement-suggestions section. More details here : https://github.com/handsontable/handsontable @Leemoonsoo@prabhjyotsingh what say? |
corneadoug
commented
May 12, 2016
@r-kamath I don't want to make this PR wait forever. Since Handsontable seems to be helpful in term of performances, it might still be worth it to have those unnecessary dependencies. However, after this PR, we should try to find a way to get rid of them somehow (by keeping an eye for a fix in handsontable, or making a PR there, or even trying their hotbuilder) |
r-kamath
commented
May 12, 2016
@corneadoug I'm following up on handsontable repo. Will find some time to explore for a potential PR. |
corneadoug
commented
May 12, 2016
Merging if there is no more discussions |
ghost
commented
May 20, 2016
Great Job. I have a silly question, how do you debug your code in zeppelin, I mean , what IDE do you use and how you make breakpoint or sth like that ... |
corneadoug
commented
May 20, 2016
@yantaiv Better ask that in the mailing list, you would get more answers |
gauravkumar37
commented
Jun 3, 2016
Thanks for the wonderful commit. |
…nse file. ### What is this PR for? <Jquery.floatThead> is no longer used. But the license document contains the appropriate information. Due to the following PR <jquery.floatThead> was removed. Resulting in a using < HandsonTable >. #858 ### What type of PR is it? Documentation ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-953 ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: CloverHearts <cloverheartsdev@gmail.com> Closes#960 from cloverhearts/ZEPPELIN-953 and squashes the following commits: d9ac1f1 [CloverHearts] Merge branch 'master' into ZEPPELIN-9535cddba6 [CloverHearts] deleted jquery.floatThead at license file
corneadoug
commented
Jun 9, 2016
@gauravkumar37 handled in #973 |
### What is this PR for? This PR fixes a few minor issues from the recent introduction of Handsontable for table rendering (#858): * Render up to 5 digits after decimal point instead of always rounding to integers * Allow visual selection of table cells (for copy) * Default to text renderer instead of numeric renderer ### What type of PR is it? Bug Fix, Improvement ### Todos ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-973 * https://issues.apache.org/jira/browse/ZEPPELIN-954 ### How should this be tested? Output some rows with floating point numbers and render them in a table. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Hao Xia <hao@optimizely.com> Closes#973 from jasonxh/hao/render-table and squashes the following commits: a663833 [Hao Xia] Remove cell selection. Allow visually selecting table text. 7bc85b5 [Hao Xia] Table rendering improvements: * Render up to 5 digits after decimal point * Allow visual selection of table cells * Default to text renderer




What is this PR for?
This is an improvement for table display. By using Handsontable we can load and display more data in paragraphs. Tested using sample tabular data consisting 10000x80 cells
What type of PR is it?
Improvement
Todos
What is the Jira issue?
How should this be tested?
TODO : test cases to follow
Screenshots (if appropriate)
Questions: