You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2017/12/31 02:04:00 UTC
[jira] [Commented] (TOREE-460) Verbose output for variable
declaration after fix for TOREE-380
[ https://issues.apache.org/jira/browse/TOREE-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307037#comment-16307037 ]
Luciano Resende commented on TOREE-460:
---------------------------------------
I was investigating the issue, more towards how these statements work in different languages (Python and Scala)
Python Console | iPython Kernel | Scala Console | Toree Kernel
a = 5 | a = 5 | var a = 5 | var a = 5
no output | no output | a: Int = 5 | Out[n]: 5
So, Although there was a change in behavior for Toree, I believe the change is making it consistent with the different ways to perform interactive development on the Scala world and I am inclined to close this was working as expected.
> Verbose output for variable declaration after fix for TOREE-380
> ---------------------------------------------------------------
>
> Key: TOREE-460
> URL: https://issues.apache.org/jira/browse/TOREE-460
> Project: TOREE
> Issue Type: Bug
> Components: Kernel
> Affects Versions: 0.2.0
> Reporter: Vinayak Joshi
> Assignee: Luciano Resende
> Fix For: 0.2.0
>
>
> Currently, when executing a cell with a variable declaration in Toree (0.2.0) & Scala 2.11 the cell result contains verbose output which was not present prior to the fix for TOREE-380:
> Before TOREE-380 there was not output when a cell was only declaring/defining a variable
> ```
> var v = "abc"
> ```
> After TOREE-380
> ```
> v = abc
> Out[2]: abc
> ```
> This is breaking consistency/compatibility with previous versions of Toree. Also there are users that use some kind of code cell hiding to prevent credentials etc being displayed in a notebook - this use case now breaks since the cell output now displays any credential values that are assigned to variables.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)