-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the avg decimal result of tiflash is not the same with that of tidb/mysql #4488
Comments
min reproduce:
|
tiflash should extend the scale even if the scale = 30( the max scale). |
Narrow down it further: |
A proper fix would be adding one more scale for divide result, and after dive, round the result back to result scale. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
mysql -uroot -P52324 -h172.16.4.97 -D agg_decimal10001
from tiflash
from tidb
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
nightly
The text was updated successfully, but these errors were encountered: