Michael Armbrust created SPARK-12841:
----------------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]