[ 
https://issues.apache.org/jira/browse/LIVY-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Naman Mishra updated LIVY-791:
------------------------------
    Description: 
If a submitted statement generates some output and fails at a later point, the 
output is not returned as part of the statement details.
{code:java}
for i in range(10):
    print(i)
# Simulate error
raise Exception{code}
After the execution finishes, output contains the exception details and 
traceback, but the values from 1 to 10 are not present. Same is applicable to 
scala also.
{noformat}
"output":{"status":"error","execution_count":1,"ename":"Exception","evalue":"","traceback":["Traceback
 (most recent call last):\n","Exception\n"]}{noformat}

  was:
If a submitted statement generates some output and fails at a later point, the 
output is not returned as part of the statement details.
{code:java}
for i in range(10):
    print(i)
# Simulate error
raise Exception{code}
After the execution finishes, output contains the exception details and 
traceback, but the values from 1 to 10 are not present. Same is applicable to 
scala also.


> If a statement results in error, corresponding output is not shown
> ------------------------------------------------------------------
>
>                 Key: LIVY-791
>                 URL: https://issues.apache.org/jira/browse/LIVY-791
>             Project: Livy
>          Issue Type: Improvement
>            Reporter: Naman Mishra
>            Priority: Major
>
> If a submitted statement generates some output and fails at a later point, 
> the output is not returned as part of the statement details.
> {code:java}
> for i in range(10):
>     print(i)
> # Simulate error
> raise Exception{code}
> After the execution finishes, output contains the exception details and 
> traceback, but the values from 1 to 10 are not present. Same is applicable to 
> scala also.
> {noformat}
> "output":{"status":"error","execution_count":1,"ename":"Exception","evalue":"","traceback":["Traceback
>  (most recent call last):\n","Exception\n"]}{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to