Skip to content

Commit

Permalink
[FLINK-15510] Pretty Print StreamGraph JSON Plan
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun authored and aljoscha committed Jan 8, 2020
1 parent ba15488 commit 07ce59e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ public int compare(Integer idOne, Integer idTwo) {
}
});
visit(nodes, operatorIDs, new HashMap<Integer, Integer>());
return json.toString();

return json.toPrettyString();
}

private void visit(ArrayNode jsonArray, List<Integer> toVisit,
Expand Down

0 comments on commit 07ce59e

Please sign in to comment.