HeartSaVioR commented on issue #23854: [SPARK-22000][SQL] Use String.valueOf in 
generated code to assign value to String type of field in Java Bean Encoder
URL: https://github.com/apache/spark/pull/23854#issuecomment-466406523
 
 
   @maropu Thanks for the idea. I applied your suggestion. 
   @srowen I just rolled back the change of JavaTypeInference, and confirmed 
new test passed without this.
   
   I couldn't inject Project(Exec) in `CatalystSerde.deserialize` since there's 
some case (`ExpressionEncoder.resolveAndBind()`) which doesn't use returned 
DeserializeToObject as LogicalPlan - it just leverages deserializer in 
DeserializeToObject which injected Project(Exec) is not effective.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to