You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Alex Bozarth (JIRA)" <ji...@apache.org> on 2018/01/23 23:38:01 UTC
[jira] [Commented] (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=16336555#comment-16336555 ]
Alex Bozarth commented on LIVY-299:
-----------------------------------
was fixed by https://github.com/apache/incubator-livy/pull/66
> 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
> Priority: Major
> 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
(v7.6.3#76005)