Skip to content

[ZEPPELIN-3035] Ability to display the same result multiple times for each paragraph.#2650

Closed
SleepyThread wants to merge 3 commits intoapache:masterfrom
SleepyThread:multiple_results
Closed

[ZEPPELIN-3035] Ability to display the same result multiple times for each paragraph.#2650
SleepyThread wants to merge 3 commits intoapache:masterfrom
SleepyThread:multiple_results

Conversation

@SleepyThread
Copy link

What is this PR for?

Sometimes we need to have multiple visualizations with each result of the query. Currently, we can only do it by copying query which increases the load on the server.
There should be a way to specify the number of result copies we want and the results should be duplicated in the UI.

What type of PR is it?

[ Feature | Documentation ]

Todos

  • [Done] - Adding the abilty to specify the number of results in UI.
  • [Done] - Adding documentations for the same.

What is the Jira issue?

How should this be tested?

  • Open any new notebook and select the num results options in paragraph settings.
  • Run paragraph and see the results.

Screenshots (if appropriate)

image1

multiple_result_visualization

Questions:

  • Does the licenses files need update?
    No
  • Is there breaking changes for older versions?
    No
  • Does this needs documentation?
    Yes.

@SleepyThread SleepyThread changed the title Ability to specify Multiple results for each paragraph [ZEPPELIN-3035] Ability to specify Multiple results for each paragraph Nov 5, 2017
Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi - thanks for contributing this, looks like you are new.
this feature does seem useful.

I think we would call it something else other than "multiple results" though - that has been the scenario where we have talked about when running the paragraph produces multiple different outputs, possibly in different types (for example, the more common one being Markdown for description then a data table)

It looks like this is "display the same result multiple times"

@SleepyThread SleepyThread changed the title [ZEPPELIN-3035] Ability to specify Multiple results for each paragraph [ZEPPELIN-3035] Ability to display the same result multiple times for each paragraph. Nov 5, 2017
@SleepyThread
Copy link
Author

@felixcheung Yeah, I am new to Zeppelin project. I have incorporated your feedback and updated the pull request accordingly.

@SleepyThread
Copy link
Author

@felixcheung Is this pull request not relevant or team is busy with the backlog of the other task?

@felixcheung
Copy link
Member

@Leemoonsoo @1ambda what do you think?

@Leemoonsoo
Copy link
Member

Thanks @SleepyThread for the contribution!
I have tested this branch. I'd like to more people take a look and leave feedback on this feature.

Anyway, this looks like break current behavior. i.e. You can't print multiple results in one paragraph.
Run following paragraph in both master and this branch.

%sh echo -e "%table key\tvalue\nsun\t100\nmoon\t200\n\n%table fruit\tcolor\norange\t1\napple\t2"

Master branch will shows two table and this branch will display only the first one.

@SleepyThread SleepyThread deleted the multiple_results branch February 23, 2018 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants