[ https://issues.apache.org/jira/browse/SPARK-11679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
mayuanwen updated SPARK-11679: ------------------------------ Summary: When invoking method " apply(fields: java.util.List[StructField])" in "StructType", get exception "java.lang.ClassCastException: (was: When invoking method " apply(fields: java.util.List[StructField])" of in "StructType", get exception "java.lang.ClassCastException: ) > 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 > Affects Versions: 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.0, 1.5.1 > Reporter: mayuanwen > > When invoking method " apply(fields: java.util.List[StructField])" of in > "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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org