You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2017/11/17 14:00:00 UTC

[jira] [Comment Edited] (LIVY-299) Only the output of last line is returned

    [ https://issues.apache.org/jira/browse/LIVY-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256999#comment-16256999 ] 

Jeff Zhang edited comment on LIVY-299 at 11/17/17 1:59 PM:
-----------------------------------------------------------

Reopen it as I still think we need to fix it, welcome any comment 


was (Author: zjffdu):
Reopen it as I still think we need to fix it

> Only the output of last line is returned
> ----------------------------------------
>
>                 Key: LIVY-299
>                 URL: https://issues.apache.org/jira/browse/LIVY-299
>             Project: Livy
>          Issue Type: Bug
>          Components: Interpreter
>    Affects Versions: 0.3
>            Reporter: Jeff Zhang
>
> Request:
> {code}
> {"code": "print(1);\nprint(1)"}
> {code}
> Response:
> {code}
> {
>   "total_statements": 1,
>   "statements": [
>     {
>       "id": 0,
>       "state": "available",
>       "output": {
>         "status": "ok",
>         "execution_count": 0,
>         "data": {
>           "text/plain": "1"
>         }
>       }
>     }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)