gengliangwang commented on code in PR #36950: URL: https://github.com/apache/spark/pull/36950#discussion_r903081571
########## docs/sql-ref-number-pattern.md: ########## @@ -19,4 +19,101 @@ license: | limitations under the License. --- -TODO: Add the content of Number Patterns for Formatting and Parsing +### Description + +Functions such as `to_number` and `try_to_number` support converting between values of string and +Decimal type. Such functions accept format strings indicating how to map between these types. + +### Syntax Review Comment: Shall we have the highlights for all the functions? E.g. ``` to_number(string, format); try_to_number(string, format); ``` -- 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]
