learningchess2003 opened a new pull request, #41319:
URL: https://github.com/apache/spark/pull/41319

   
   ### What changes were proposed in this pull request?
   Add the ```to_varchar``` alias for ```to_char``` to support built-in 
Snowflake SQL functions.
   
   ### Why are the changes needed?
   To minimize code changes user needs for adapting formerly a Snowflake SQL 
application to a Databricks one.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. The user can now invoke ```to_varchar``` instead of ```to_char``` in 
their SQL applications.
   
   ### How was this patch tested?
   ```to_varchar``` was added in ```numeric.sql``` and a new Golden file was 
generated to check that the query output was correct.
   


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