viirya commented on issue #21732: [SPARK-24762][SQL] Enable Option of Product 
encoders
URL: https://github.com/apache/spark/pull/21732#issuecomment-450164376
 
 
   @HyukjinKwon there was a comment 
https://github.com/apache/spark/pull/21732#issuecomment-403865941 for it. This 
was originally to make `Option[Product]` work for aggregators, but it makes 
encoder framework inconsistent because the created encoders can used for 
aggregators but not for Dataset. So I think the idea is to make it consistent. 
Users are allowed to encoder `Option[Product]` as Dataset but they should be 
aware of the encoding.

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