ulysses-you commented on pull request #30974:
URL: https://github.com/apache/spark/pull/30974#issuecomment-760693554


   Seems there is another issue, `Literal(null, NullType)` will be convert to 
other data type  during analysis. Then `Null` will be `CAST(Null AS xxx)`. 
   
https://github.com/apache/spark/blob/00d43b1f829fb5f79f0355afbbacc804162648e5/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala#L390-L392
   


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



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

Reply via email to