Details
Description
This is the 2 statement output I get. You can see that the traceback of the first statement is a json object while the second is a json list. This is misleading to users especially user want to deserialize these json string to java plain object.
{ "id": 1, "state": "available", "output": { "status": "error", "execution_count": 1, "ename": "Error", "evalue": "incomplete statement", "traceback": {} } }, { "id": 2, "state": "available", "output": { "status": "error", "execution_count": 2, "ename": "Error", "evalue": "<console>:26: error: value sm is not a member of org.apache.spark.rdd.RDD[Int]", "traceback": [ " sc.parallelize(0 to 100).sm()", "\n ^" ] } }