dtenedor commented on code in PR #37159:
URL: https://github.com/apache/spark/pull/37159#discussion_r918129229
##########
docs/sql-ref-number-pattern.md:
##########
@@ -176,10 +176,10 @@ Note that the format string used in most of these
examples expects:
"$#.##"
-- 'S' can be at the end.
-> SELECT try_to_char(decimal(-12454.8), '99,999.9S');
+> SELECT to_char(decimal(-12454.8), '99,999.9S');
"12,454.8-"
-> SELECT try_to_char(decimal(12454.8), 'L99,999.9');
+> SELECT to_char(decimal(12454.8), 'L99,999.9');
Error: cannot resolve 'try_to_char(Decimal(12454.8), 'L99,999.9')' due to
data type mismatch:
Review Comment:
```suggestion
Error: cannot resolve 'to_char(Decimal(12454.8), 'L99,999.9')' due to data
type mismatch:
```
--
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]