You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/01/19 06:21:39 UTC
[jira] [Resolved] (SPARK-12841) UnresolvedException with cast
[ https://issues.apache.org/jira/browse/SPARK-12841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yin Huai resolved SPARK-12841.
------------------------------
Resolution: Fixed
Fix Version/s: 1.6.1
2.0.0
Issue resolved by pull request 10819
[https://github.com/apache/spark/pull/10819]
> 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
> Fix For: 2.0.0, 1.6.1
>
>
> {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