mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Convert old notebook format only once
This commit is contained in:
parent
f32651e519
commit
4e77c0a8b8
1 changed files with 4 additions and 0 deletions
|
|
@ -414,6 +414,10 @@ public class Notebook implements NoteEventListener {
|
|||
public void convertFromSingleResultToMultipleResultsFormat(Note note) {
|
||||
for (Paragraph p : note.paragraphs) {
|
||||
Object ret = p.getPreviousResultFormat();
|
||||
if (ret != null && p.results != null) {
|
||||
continue; // already converted
|
||||
}
|
||||
|
||||
try {
|
||||
if (ret != null && ret instanceof Map) {
|
||||
Map r = ((Map) ret);
|
||||
|
|
|
|||
Loading…
Reference in a new issue