szehon-ho opened a new pull request, #49881:
URL: https://github.com/apache/spark/pull/49881

   
   
   ### What changes were proposed in this pull request?
    Code cleanup for https://github.com/apache/spark/pull/49840/.  
Literal#fromSQL should be the inverse of Literal#sql.  The cast handling is an 
artifact of the original code that adds the cast when making EXISTS_DEFAULT, so 
its handling is moved to analyzeExistenceDefaultValue().
   
   ### Why are the changes needed?
   Code cleanup
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Existing tests
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


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

To unsubscribe, e-mail: [email protected]

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