Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.6.2
-
None
Description
Print statements (or statements which automatically print like variable assignment statements in scala-based interpreters like %spark) will not be displayed in the paragraph output if they are followed by a print statement which changes the type from text (eg, %html or %angular). For example,
%spark
val a = 1
println("%html")
does not display anything. If I instead call println("%html") before the variable assignment, then output will be displayed. It would thus be good if the magics could retroactively change the result types of preceding statements so that they are displayed properly. This is especially important for the upcoming matplotlib integration features in the python-based interpreters since there is a post-execute hook which always sets the output to HTML or ANGULAR when any figures are open.
Attachments
Issue Links
- duplicates
-
ZEPPELIN-212 Interpreter should support returning a list of InterpreterResults
- Resolved