That's because InterpreterResult in backend doesn't understand custom
display types.

-
https://github.com/apache/zeppelin/blob/master/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterOutput.java#L224

There are many way to implement it, but i am thinking about

- adding `customType` variable to `InterpreterResultMessageOutput` class.
- or changing the variable `InterpreterResultMessageOutput.type` type from
`Enum` to `String`

Thanks.

On Sat, Mar 11, 2017 at 8:34 PM, Eric Charles <e...@apache.org> wrote:

> ZEPPELIN-2089 talks about this if I understand well.
>
> @ParkHoon Were you thinking to InterpreterResult.Type.SPELL?
>
>
>
> On 11/03/17 10:23, Eric Charles wrote:
>
>> My use case is running a spark paragraph with println(s"""%sigma
>> $graph""") that is supposed to call my spell and display the graph.
>>
>> Is there a way to use existing spell module as display systems?
>>
>> There is in result.controller.js#324
>> heliumService.executeSpellAsDisplaySystem(type, data) which makes me
>> think there is a way to achieve this, but I don't get there
>>
>> I tried to define in helium folder the spell as visualization, but this
>> does not work.
>>
>
>

Reply via email to