You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2018/12/21 04:09:57 UTC

[GitHub] cloud-fan edited a comment on issue #20974: [SPARK-23862][SQL] Spark ExpressionEncoder should support java enum type in scala

cloud-fan edited a comment on issue #20974: [SPARK-23862][SQL] Spark ExpressionEncoder should support java enum type in scala
URL: https://github.com/apache/spark/pull/20974#issuecomment-449239693
 
 
   All the data in Spark SQL must have a schema. When we convert a java enum to Spark SQL data, which type should we pick?  To me string is a better type than int.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org