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 2019/07/24 08:07:39 UTC

[GitHub] [spark] gengliangwang opened a new pull request #25242: [SPARK-28497][SQL] Disallow upcasting complex data types to string type

gengliangwang opened a new pull request #25242: [SPARK-28497][SQL] Disallow upcasting complex data types to string type
URL: https://github.com/apache/spark/pull/25242
 
 
   ## What changes were proposed in this pull request?
   
   In the current implementation. complex types like Array/Map/StructType are allowed to upcast as StringType.
   This is not safe casting. We should disallow it.
   
   ## How was this patch tested?
   
   Update the existing test case 
   

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