Added CSV and Tableau export functionality#725
Added CSV and Tableau export functionality#725markncooper wants to merge 1 commit intoapache:masterfrom
Conversation
|
@markncooper I am working on a pull request for this: #714 I think we can directly export the data in frontend |
|
The big issue with simply exporting from the frontend is that you can only export as many rows as are displayed by the UI, right? I'd like to dump 1000s of rows. |
|
@markncooper Right, but if the export button is in the chart interface, shouldn't we only export the rows shown in UI? I also have a very similar case of exporting the "full report" than only the data UI shows. I am trying to work on some walk-around: create a dynamic form (or angular) for exporting the full reports, and register the exporting action on the dynamic form. |
|
@markncooper @zhongneu Hello folks, this issue is handled by #6 initially. I think it's better that we focus one PR only. Do you mind improving #6 by comment or some implementations? In case of same issue with many PR, I think we should respect the first one. How about you guys? |
|
@markncooper Thanks for the contribution. If you're trying to drop limit of number of rows to be downloaded, how about following approach? Make an abstraction of any result data and share it to the ResourcePool. And then it can be used in rest end point to be downloaded. This approach was discussed in #413 |
|
I'm a bit confused. @corneadoug said in #761 that this PR, #725, will handle the export via a REST call through the |
|
@jmrr Yes, The goal was to take care of the export using #714 and #725 (for front and back-end export). |
|
So how are we on this? |
|
@jmrr Good Question. @markncooper any feedbacks regarding @Leemoonsoo comments above? |
|
@corneadoug Edit my previous comment, the featured emerged when I disabled caching, the browser was caching the old view and it wouldn't appear. Sorry!
|
|
any update on this? |
|
It looks unmanaged now |
|
Yeah, I'll abort this change as it's been implemented by others. |
** What is this PR for?
Allow users to export data in a paragraph to a CSV and / or Tableau via Tableau's WDC feature
** What type of PR is it?
Feature
** TODOs
This feature is partially incomplete - I want to drop the limit on only exporting 1000 (or however many) rows are shown in the UI. For our purpose we hacked backend support for this to our custom interpreter but I am looking for recommendations on the "proper" way to do this.
** Is there a relevant Jira issue?
Sort of - ZEPPELIN-672 is the most similar
**How should this be tested?
create a paragraph with data in %table view
select the "Export to CSV" or "Export to Tableau WDC" item in the paragraph settings list
** Does the licenses files need update?
NO
** Is there breaking changes for older versions?
NO
** Does this needs documentation?
Possibly. Here's a screenshot of it in action.