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

Michael Armbrust resolved SPARK-11679.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

Issue resolved by pull request 9649
[https://github.com/apache/spark/pull/9649]

> When invoking method " apply(fields: java.util.List[StructField])" in 
> "StructType", get exception "java.lang.ClassCastException: 
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-11679
>                 URL: https://issues.apache.org/jira/browse/SPARK-11679
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.0, 1.5.1
>            Reporter: mayuanwen
>             Fix For: 1.6.0
>
>
> When invoking method " apply(fields: java.util.List[StructField])" in Object 
> "StructType", get exception "java.lang.ClassCastException: 
> [Ljava.lang.Object; cannot be cast to 
> [Lorg.apache.spark.sql.types.StructField; 
> at org.apache.spark.sql.types.StructType$.apply"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to