You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/01/16 06:18:40 UTC

[jira] [Assigned] (SPARK-12841) UnresolvedException with cast

     [ https://issues.apache.org/jira/browse/SPARK-12841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-12841:
------------------------------------

    Assignee: Wenchen Fan  (was: Apache Spark)

> UnresolvedException with cast
> -----------------------------
>
>                 Key: SPARK-12841
>                 URL: https://issues.apache.org/jira/browse/SPARK-12841
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.0
>            Reporter: Michael Armbrust
>            Assignee: Wenchen Fan
>            Priority: Blocker
>
> {code}
> val df1 = sc.makeRDD(1 to 5).map(i => (i, i * 2)).toDF("single", "double")
> df1.where(df1.col("single").cast("string").equalTo("1"))
> {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