java.lang.UnsupportedOperationException: Cannot infer type for class org.apache.spark.ml.linalg.VectorUDT because it is not bean-compliant


Solutions on the web

Solution icon of stackoverflow
Cannot infer type for class org.apache.spark.ml.linalg.VectorUDT because it is not bean-compliant

Solution icon of stackoverflow
Cannot infer type for class spark.Request because it is not bean-compliant

Solution icon of github
Cannot infer type for class models.Station because it is not bean-compliant

Stack trace

java.lang.UnsupportedOperationException: Cannot infer type for class org.apache.spark.ml.linalg.VectorUDT because it is not bean-compliant
	at org.apache.spark.sql.catalyst.JavaTypeInference$.org$apache$spark$sql$catalyst$JavaTypeInference$$serializerFor(JavaTypeInference.scala:437)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 1 year ago