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

Prashant Sharma commented on SPARK-15675:
-----------------------------------------

Looks like https://github.com/scala/scala/pull/5084/files looks into this 
issue. Just to verify, I am to going to run spark with special build of scala, 
to see if this upstream fix nails it.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to