Hi,

For now, code and result data are mixed in note.json, which is represented
by 'class Note' [1]. And every Notebook storage layer need to implement
'NotebookRepo.get()' [2] to read note.json from underlying storage and
convert it into 'class Note'.

As you see the related API and class definition, NotebookRepo actually
doesn't have any restriction how 'class Note' is serialized and saved in
the storage.

So you can event new format, you can exclude result data from saving, and
so on.

Hop this helps.

Thanks,
moon

[1]
https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
[2]
https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/repo/NotebookRepo.java#L47


On Wed, Sep 7, 2016 at 3:47 AM Vikash Kumar <vikash.ku...@resilinc.com>
wrote:

> Hi all,
>
>                 We are storing the note.json configuration into hbase as
> it is stored into File system. As default behavior in note.json the query
> data is stored along with configuration. But we want to store the
> configurations only and when user loading its note then query should get
> executed and data generated. This feature we are using for phoenix
> interpreter. So how can we remove the data from note.json? Is there any
> plan for that?
>
>
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>

Reply via email to