Uh oh!
There was an error while loading. Please reload this page.
[ZEPPELIN-212] Multiple paragraph results - #1658
Conversation
217d559 to
e89c9b8CompareI think this PR is ready to be reviewed.
|
agoodm
commented
Nov 28, 2016
Very nice @Leemoonsoo 👍 I have tested this with the matplotlib tutorial notebook just to see if ZEPPELIN-1638 is also resolved by this, and everything checks out! |
| } | ||
| } | ||
| } catch (Exception e) { | ||
| logger.error("Conversion failure", e); |
There was a problem hiding this comment.
would it be able to continue if the conversion has failed?
There was a problem hiding this comment.
It catches exception and just logging it, not propagating it. So i think note loading continues even if conversion fails.
There was a problem hiding this comment.
I see, so basically it handles old result format notes on frontend as well
There was a problem hiding this comment.
Front end will display note without results in each paragraphs, incase of conversion failure.
khalidhuseynov
commented
Nov 29, 2016
tried locally and works as expected, LGTM! |
Leemoonsoo
commented
Nov 29, 2016
Thanks @agoodm@khalidhuseynov for the review! |
agoodm
commented
Nov 29, 2016
@Leemoonsoo FYI, #1632 added another set of tests. The interpreter result format for these should be changed as well. |
Leemoonsoo
commented
Nov 30, 2016
### What is this PR for? Since #1658, the output format had changed but note.json of Tutorials didn't changed. ### What type of PR is it? Bug Fix ### How should this be tested? Please make sure there is no `result` field in note.json file. ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: astroshim <hsshim@zepl.com> Author: Hyungsung Shim <shim@Hyungsungui-MacBook-Pro.local> Closes#1780 from astroshim/fix/tutorialNote and squashes the following commits: eca8026 [astroshim] Merge branch 'master' into fix/tutorialNote a957baa [Hyungsung Shim] fix tutorial note json format.

What is this PR for?
Currently a paragraph can display only a single type of result.
For example
will display only last display system detected, "htmlout".
This pr implements multiple results supports, so not only the last, but also all the display systems in a paragraph outputs can be displayed.
To do that, Note.json format need to be changed. from
to
What type of PR is it?
Improvement
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-212
How should this be tested?
run following code in a single spark paragraph.
Screenshots (if appropriate)
Questions: