jiangxb1987 opened a new pull request #25425: [SPARK-28497][FOLLOWUP][SQL] 
Allow cast NullType to StringType
URL: https://github.com/apache/spark/pull/25425
 
 
   ## What changes were proposed in this pull request?
   
   #25242 proposed to disallow upcasting complex data types to string type, 
however, upcasting from null type to string type should still be safe.
   
   ## How was this patch tested?
   
   Add corresponding case in `CastSuite`.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to