[
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: [email protected]
For additional commands, e-mail: [email protected]