viirya edited a comment on pull request #32404:
URL: https://github.com/apache/spark/pull/32404#issuecomment-830424043


   This is weird:
   
   ```
   sbt.ForkMain$ForkError: java.lang.RuntimeException: Error while encoding: 
java.lang.RuntimeException: Found 2 serialize on class 
org.apache.spark.ml.linalg.VectorUDT
   newInstance(class org.apache.spark.ml.linalg.VectorUDT).serialize AS value#27
   ```
   
   Found methods on `org.apache.spark.ml.linalg.VectorUDT` are:
   
   ```
   method: serialize, WrappedArray(interface org.apache.spark.ml.linalg.Vector) 
                                                                                
                                                                          
   method: serialize, WrappedArray(class java.lang.Object) 
   ```
   
   But `VectorUDT` only has `override def serialize(obj: Vector): InternalRow`. 
Why there is another `serialize(Object)`?
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to