wangbo opened a new issue #8588: URL: https://github.com/apache/incubator-doris/issues/8588
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version master ### What's Wrong? The arithmetic results of the vectorized version and the row version are inconsistent. ### What You Expected? Keep them same. ### How to Reproduce? ``` fix_float_div Create Table: CREATE TABLE `fix_float_div` ( `col_955` int(11) NULL COMMENT "", `col_952` int(11) NULL COMMENT "" ) ENGINE=OLAP DUPLICATE KEY(`col_955`) COMMENT "OLAP" DISTRIBUTED BY HASH(`col_955`) BUCKETS 1 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "in_memory" = "false", "storage_format" = "V2" ) insert into fix_float_div values(12806,7),(0,7),(0,7),(6405691,7),(4483130,7); // vec version result mysql> select col_955 * 1.0 / col_952 as col from fix_float_div; +------------------+ | col | +------------------+ | 0 | | 0 | | 1829.428571428 | | 640447.142857142 | | 915098.714285714 | +------------------+ 5 rows in set (0.01 sec) // row version result mysql> select col_955 * 1.0 / col_952 as col from fix_float_div; +------------------+ | col | +------------------+ | 0 | | 0 | | 1829.428571429 | | 640447.142857143 | | 915098.714285714 | +------------------+ 5 rows in set (0.01 sec) | 640447.142857142 | // vec version | 640447.142857143 | // row version ``` ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
