Hello moon,

thank you very much, that solved my issue.

Best regards,
Jan

2017-04-26 21:51 GMT+02:00 moon soo Lee <m...@apache.org>:

> Unfortunately, report view does not supposed to hide 'text' output.
> Because Zeppelin can not distinguish if text output is the console output
> user want to hide or if text output is some information that user want to
> display.
>
> %spark
> df = .... // create your data frame
> z.getInterpreterContext.out.clear
> z.show(df)
>
> Isn't above code clear console output and display visualization for your
> data frame?
>
> Thanks,
> moon
>
>
> On Wed, Apr 26, 2017 at 12:45 PM Jan Rasehorn <j.rasehorn.apa...@gmail.com>
> wrote:
>
>> Hello Moon,
>>
>> thank you for your suggestion.
>> I already called "clear output" through the web UI action for one of my
>> paragraphs. But it does not help, since clearing the output means to remove
>> also the output that actually shall be displayed.
>>
>> To make it more clear what I mean.
>>
>> I'm using the spark sparksql interpreter.
>> When the paragraph is executed I can see the console output for each
>> program statement above the rendered tables or diagrams.
>> As far as I know this console output should not be visible if I use the
>> simple or report view. But it is visible and does not disappear even if a
>> switch between simple and report view.
>>
>> Best regards,
>> Jan
>>
>>
>> 2017-04-26 21:18 GMT+02:00 moon soo Lee <m...@apache.org>:
>>
>>> You can clear output in %spark
>>>
>>> z.getInterpreterContext.out.clear
>>>
>>> in %pyspark
>>>
>>> z.getInterpreterContext().out().clear()
>>>
>>> It may help hide unwanted output displayed.
>>>
>>> Thanks,
>>> moon
>>>
>>>
>>> On Tue, Apr 25, 2017 at 11:09 AM Jan Rasehorn <
>>> j.rasehorn.apa...@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm currently running version 0.7.0 and 0.7.1 .
>>>>
>>>> When I execute a paragraph it will display the console log no matter if
>>>> I selected the simple or report mode for the notebook.
>>>>
>>>> I wonder if there is a trick to hide the paragraph console output but
>>>> still display the actual output like selection fields or tables/charts.
>>>>
>>>> Thanks for any suggestions and BR,
>>>> Jan
>>>>
>>>
>>

Reply via email to