ajacques commented on issue #20974: [SPARK-23862][SQL] Spark ExpressionEncoder 
should support java enum type in scala
URL: https://github.com/apache/spark/pull/20974#issuecomment-449160434
 
 
   If I understand this PR correctly, this is going to be internally using the 
String representation of the Enum instead of some type of ordinal. I like the 
support for Enums, but I've seen cases where using a string instead of the 
ordinal significantly increases the data set size. Is there a reason why we're 
preferring String over an ordinal?

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