cool9850311 commented on code in PR #27474: URL: https://github.com/apache/datafusion/pull/27474#discussion_r4709794284
########## datafusion/sqllogictest/test_files/simplify_expr.slt: ########## @@ -377,6 +378,41 @@ physical_plan 01)FilterExec: price36@0 = 4.0000 02)--DataSourceExec: partitions=1, partition_sizes=[1] +# An integer literal is an `Int64`, so a scale of 19 or more needs a +# `Decimal256` common type, whose literal must still unwrap to the column. +query R +select price38_24 from decimal_prices where price38_24 <> 5 order by price38_24; +---- +-1.000000000000000000000000 +0.000000000000000000000000 +4.000000000000000000000000 + +query TT +explain select price38_24 from decimal_prices where price38_24 <> 5; Review Comment: Will open follow-up PR -- 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]
