leonard9893 commented on PR #63135:
URL: https://github.com/apache/doris/pull/63135#issuecomment-4427988078

   Hi @apache/doris-committers, gentle ping on this PR. It fixes a regression 
in `CAST(... AS DECIMAL)` with scientific notation (e.g. `CAST('1.4E+4' AS 
DECIMAL(38,15))` returns 14 instead of 14000). The fix is a one-line change in 
`be/src/util/string_parser.cpp`: replace `i` with `end_digit_index` on line 
191. The original bug was introduced by commit c10826315c0 (#60004). Please 
take a look when you have a moment. Thanks!


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