You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Tim Harsch (JIRA)" <ji...@apache.org> on 2018/05/15 16:28:00 UTC

[jira] [Created] (LIVY-470) ename and traceback missing from docs

Tim Harsch created LIVY-470:
-------------------------------

             Summary: ename and traceback missing from docs
                 Key: LIVY-470
                 URL: https://issues.apache.org/jira/browse/LIVY-470
             Project: Livy
          Issue Type: Bug
          Components: Docs
    Affects Versions: 0.5.0
            Reporter: Tim Harsch


According to the 0.5.0 REST API docs ( https://livy.incubator.apache.org/docs/latest/rest-api.html#statement )  statement output has three fields "status, execution_count and data" but this is only true in non-error cases.  e.g.

{code:javascript}
...
    "output": {
        "ename": "Error",
        "evalue": "<console>:40: error: value select is not a member of Array[org.apache.spark.sql.Row]",
        "execution_count": 2,
        "status": "error",
        "traceback": [
            "         df = df.select(df(\"venueid\"), df(\"venuename\"), df(\"venuecity\"), df(\"venuestate\"), df(\"venueseats\").as(\"xyz\"), df(\"venues_processing_dttm\"))\n",
            "                 ^\n"
        ]
    },
...
}

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)