HeartSaVioR edited a comment on issue #24014: [SPARK-27092][SQL] Apply 
refactored pattern in ScalaReflection and JavaTypeInference to RowEncoder
URL: https://github.com/apache/spark/pull/24014#issuecomment-471527793
 
 
   While I'm adding new methods to `SerializerBuildHelper` / 
`DeserializerBuildHelper`, I've also found some parts in RowEncoder which are 
exactly doing same things for what `JavaTypeInference` and `ScalaReflection` 
are doing. e.g. `createDeserializerForJavaBigDecimal`, 
`createDeserializerForString`, `createSerializerForDecimalType`, etc. 
   
   So for some parts they're doing different, but some other parts they're just 
doing same. I can remove added methods and just let RowEncoder reuse available 
methods in `SerializerBuildHelper` / `DeserializerBuildHelper` if we are not 
seeing benefit of doing it. (Maybe PR can be changed to `MINOR` afterwards.) 
Please let me know your thought about it.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to