You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Prashant Sharma (JIRA)" <ji...@apache.org> on 2016/06/01 00:56:13 UTC
[jira] [Commented] (SPARK-15675) Implicit resolution doesn't work
in multiple Statements in Spark Repl
[ https://issues.apache.org/jira/browse/SPARK-15675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308989#comment-15308989 ]
Prashant Sharma commented on SPARK-15675:
-----------------------------------------
Interesting, I am looking into it. I will have to add tests in scala/scala, to guard against changes that break these things. I am assuming something has changed around how repl handles multiline statements. Because, I think this did not happen earlier.
> Implicit resolution doesn't work in multiple Statements in Spark Repl
> ----------------------------------------------------------------------
>
> Key: SPARK-15675
> URL: https://issues.apache.org/jira/browse/SPARK-15675
> Project: Spark
> Issue Type: Bug
> Components: Spark Shell
> Reporter: Shixiong Zhu
>
> Here is the reproducer:
> {code}
> scala> :paste
> // Entering paste mode (ctrl-D to finish)
> case class Y(i: Int)
> Seq(Y(1)).toDS()
> // Exiting paste mode, now interpreting.
> <console>:14: error: value toDS is not a member of Seq[Y]
> Seq(Y(1)).toDS()
> ^
> scala> case class Y(i: Int); Seq(Y(1)).toDS()
> <console>:13: error: value toDS is not a member of Seq[Y]
> Seq(Y(1)).toDS()
> ^
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org