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

[jira] [Resolved] (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:all-tabpanel ]

Saisai Shao resolved LIVY-299.
------------------------------
       Resolution: Fixed
    Fix Version/s: 0.5.0

> 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
>            Assignee: Saisai Shao
>             Fix For: 0.5.0
>
>
> 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)