Logical bug: numeric format changed after adding DISTINCT [v5.3.1, v6.4.0] #40014
Labels
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
may-affects-6.4
severity/moderate
sig/execution
SIG execution
type/bug
The issue is confirmed as a bug.
Bug Report
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
In theory, the result of sql2(DISTINCT) ⊆ the result of sql1
3. What did you see instead (Required)
However, the numeric format changed after adding DISTINCT, seems like a logical bug:
4. What is your TiDB version? (Required)
5. Hope these can be helpful for your debugging:
We found that the bug first occurred in pingcap/tidb:v5.3.1, it cannot be reproduced in pingcap/tidb:v5.2.4 (we can't find more intermediate versions in dockerhub):
The text was updated successfully, but these errors were encountered: