viirya commented on code in PR #6041: URL: https://github.com/apache/arrow-datafusion/pull/6041#discussion_r1169577294
########## datafusion/core/tests/sqllogictests/test_files/decimal.slt: ########## @@ -592,3 +592,8 @@ query TB select arrow_typeof(null <= a), null <= a from (values (1.1::decimal)) as t(a); ---- Boolean NULL + +query R +select try_cast(1234567 as decimal(7,3)); +---- +NULL Review Comment: I've verified that this returns incorrect result `1234.567` before the fix. -- 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]
