-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ZEPPELIN-672] Add Datatables instead of normal tables #761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: ankur_jain <[email protected]>
Signed-off-by: ankur_jain <[email protected]>
|
@adejanovski @corneadoug @bzz @Leemoonsoo @corneadoug can you please let me know any example for Chart Pivoted data to verify if this is completed or not... Thanks |
|
@adejanovski @corneadoug @bzz @Leemoonsoo @felixcheung Hello Team, Can you please review this PR? Thanks |
|
Thanks, I'll test that out |
|
Thanks for reviewing @prabhjyotsingh Thanks |
--There is a horizontal scrollbar --When i scroll, table data goes above header Signed-off-by: ankur_jain <[email protected]>
|
Hi @prabhjyotsingh , I had updated code as per your comments please review.. Thanks |
|
Tested it with different size of data. Looks good to me. |
|
Hi @corneadoug can we merge it ? |
|
Hi @corneadoug : Sorry I wrongly marked pivot chart data as complete... However we can always export graph data in table view. This PR I had planned only for implementing datatable and its export feature.... Regarding CSS problem: I will look into it... Thanks |
|
@ankurjainyash any progress with this? I'm experiencing some merge conflicts and master is evolving fast. @Leemoonsoo I've seen that the export capability is clearly set in the roadmap you sent few weeks ago. What do you think it will be the final approach? Any of #725 , #714 , #6 #89 or #672 or a combination of some/all? I've tested #672 and its data display with search/sort seems more complete. |
|
I think we would be better off using multiple PRs:
The good thing would be that both back-end and front-end data download would use the same UI, and it wouldn't add additional UI elements in the view |
What is the max number of rows this lib can support ? |
Conflicts: zeppelin-web/src/app/notebook/paragraph/paragraph.css
Signed-off-by: ankur_jain <[email protected]>
Conflicts: docs/interpreter/R.md zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js zeppelin-web/src/app/notebook/paragraph/paragraph.css
|
@corneadoug , please also review comments from other users... #6. |
|
See: #822 |
|
@ankurmitujjain I made a PR to your branch ankurmitujjain#1 |
|
@fireboy1919 is it possible to download output in the form of CSV/TSV? |
|
ok if thats the case than I believe datatable dont need download functionality which will be handled by #822 . please correct me if I am wrong... |
|
@fireboy1919 is it possible to download both server side data and front end table data? |
|
It's a REST call, so potentially, you could make a client side call to combine the two pieces of information. But the problem is the same one the backend is solving by being backend - the memory limits imposed by the browser are small compared to what the server can handle. A smarter approach would probably be to get that kind of thing would be to make a different kind backend component that can transform the data the way that you want it to be transformed. |
|
So basically you are suggesting to use rest endpoints in download buttons to download server side data.... |
Merging changes provided by @corneadoug
|
hi @ankurjainyash could support a option about save the CSV/TSV to server ? It's very useful . |
|
@darionyaphet . If you want to save data as csv on server you can use below code... |
Updated testcases for @corneadoug pull request
|
Updated code to fix testcase, please review |
|
Merging this |
|
@felixcheung already saw it and I will check it. |
### What is this PR for? After #761, on compiling project this file `karma.conf.js` started showing diff. ### What type of PR is it? [Hot Fix] ### Todos * [x] - Add karma.conf.js with diff. ### What is the Jira issue? N/A ### How should this be tested? ### 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: Prabhjyot Singh <[email protected]> Closes #875 from prabhjyotsingh/datatables_missing_karam_conf and squashes the following commits: f313878 [Prabhjyot Singh] add missing karma.conf.js
### What is this PR for? It is an extension of apache#6 apache#714 It allows user to export data in a paragraph to a TSV/CSV file. ### What type of PR is it? Feature ### Todos * [x] - Improves the current Table features like Search, Fixed Headers, Sorting ### Is there a relevant Jira issue? [ZEPPELIN-672](https://issues.apache.org/jira/browse/ZEPPELIN-672) ### How should this be tested? 1. Create a paragraph with data in %table view 2. Click on TSV/CSV button to export CSV/TSV file ### Screenshots (if appropriate)  ### Questions: * Does the licenses files need update? Need to have MIT license for Datatables. * Is there breaking changes for older versions? No * Does this needs documentation? No Author: ankur_jain <[email protected]> Author: Ankur Jain <[email protected]> Author: Damien CORNEAU <[email protected]> Closes apache#761 from ankurmitujjain/master and squashes the following commits: 4ddcc0f [Ankur Jain] Updated testcases for @corneadoug pull request e6470aa [Ankur Jain] Merge pull request apache#1 from corneadoug/clean/dataframe dd8901b [Damien CORNEAU] last fixes 5aca081 [Damien CORNEAU] Last Modifications 9c4412f [Damien CORNEAU] Remove buttons 2561630 [Ankur Jain] Updated for indent c9b675d [Ankur Jain] Updated for indent 38ee3c3 [Ankur Jain] Updated for indent b23cab4 [Ankur Jain] Updated for indent 09c87a0 [Ankur Jain] Updated for indent e4b3abb [ankur_jain] Removed R.md accidentally added d3aadc6 [ankur_jain] Updated testcase 210b7a6 [ankur_jain] Updates latest code of controller 80bd58c [ankur_jain] Merge branch 'upstream/master' 0ee76b1 [ankur_jain] Update 3 files 0c5f623 [ankur_jain] Revert "Merge branch 'upstream/master'" adb66a3 [ankur_jain] Merge branch 'upstream/master' 6363e97 [ankur_jain] Merge branch 'master' of https://github.com/ankurmitujjain/incubator-zeppelin 0c94cab [ankur_jain] Merge branch 'master' of https://github.com/ankurmitujjain/incubator-zeppelin d23202e [ankur_jain] Merge remote-tracking branch 'refs/remotes/origin/master' into apache/master 415c1f5 [ankur_jain] Merge branch 'apache/master' 7901f5e [ankur_jain] Merge branch 'refs/heads/master' into apache/master 6e6587b [ankur_jain] Updating codebase as per @prabhjyotsingh comments aea8446 [ankur_jain] Merge branch 'apache/master' df1620c [ankur_jain] Updated testcase as resultant paragraph have text of buttons and search box. 00b36e5 [ankur_jain] Reverted line 117 and 2122 as per previous code 9351a0d [ankur_jain] Committed for Datatables apache#6
### What is this PR for? After apache#761, on compiling project this file `karma.conf.js` started showing diff. ### What type of PR is it? [Hot Fix] ### Todos * [x] - Add karma.conf.js with diff. ### What is the Jira issue? N/A ### How should this be tested? ### 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: Prabhjyot Singh <[email protected]> Closes apache#875 from prabhjyotsingh/datatables_missing_karam_conf and squashes the following commits: f313878 [Prabhjyot Singh] add missing karma.conf.js
|
This PR have merge into master branch ? @ankurmitujjain @prabhjyotsingh |
|
@darionyaphet Yes it does. See here : d481b56 |



What is this PR for?
It is an extension of #6 #714
It allows user to export data in a paragraph to a TSV/CSV file.
What type of PR is it?
Feature
Todos
Is there a relevant Jira issue?
ZEPPELIN-672
How should this be tested?
Screenshots (if appropriate)
Questions:
Need to have MIT license for Datatables.
No
No