1zg12 commented on PR #37738:
URL: https://github.com/apache/spark/pull/37738#issuecomment-1233718230

   > Can you describe a valid use case? I can't think of one. Encoders are used 
with data classes, bean-like classes
   
   Google Protobuf is an example, it's widely used as a data class. In the 
protobuf class, there is an attribute called `Descriptor` (this is a generated 
filed) which circular reference back.
   
   Current spark implementation doesn't work with protobuf.
   
   There are some other examples on the issue:
   https://issues.apache.org/jira/browse/SPARK-33598


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

To unsubscribe, e-mail: [email protected]

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