dtenedor commented on PR #36365: URL: https://github.com/apache/spark/pull/36365#issuecomment-1120307824
@cloud-fan I've updated this PR according to the latest approved spec at go/to-char, please take a look. In particular, new changes include: * The result string is always the same length as the format string, so spaces are inserted before or after the decimal point as necessary. * If the input Decimal value contains more digits before or after the decimal point than the format string, this is considered an overflow and prints `#` for those digits rather than returning a runtime error (this behavior is consistent with existing engines). -- 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]
