beliefer edited a comment on pull request #35269: URL: https://github.com/apache/spark/pull/35269#issuecomment-1068878512
> What is the desired semantic if the format does not cover the domain of the number? SELECT to_char(111, '9'), to_char(1.5, '9'); Oracle output: '##' and ' 2' PgSQL output: ' #' and ' 2' I think the implement of this PR should return '#' based on the length of input format or throw errors. -- 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]
