You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2016/07/27 18:38:20 UTC

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

Shixiong Zhu updated SPARK-15675:
---------------------------------
    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>
> 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