BiteTheDDDDt commented on issue #9789: URL: https://github.com/apache/incubator-doris/issues/9789#issuecomment-1138267117
```sql MySQL [test]> set enable_vectorized_engine=false; Query OK, 0 rows affected (0.001 sec) MySQL [test]> select variance(cast(k1 as decimal)) from test_var; +--------------------------------------+ | variance(CAST(`k1` AS DECIMAL(9,0))) | +--------------------------------------+ | 564.666666667 | +--------------------------------------+ 1 row in set (0.017 sec) MySQL [test]> set enable_vectorized_engine=true; Query OK, 0 rows affected (0.001 sec) MySQL [test]> select variance(cast(k1 as decimal)) from test_var; +--------------------------------------+ | variance(CAST(`k1` AS DECIMAL(9,0))) | +--------------------------------------+ | 564.666666667 | +--------------------------------------+ 1 row in set (0.018 sec) ``` How can I reproduce the results in the description? -- 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]
