EXCEPT returns non-empty result for identical floating-point division queries with INT columns
Open
contribution
first-time-contributor
fuzz/sqlancer
sig/execution
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
### 1. Minimal reproduce step (Required)
```sql
CREATE TABLE t1(c INT);
INSERT INTO t1 VALUES (1);
SELECT c / 3 FROM t1 EXCEPT SELECT c / 3 FROM t1;
```
### 2. What did you expect to see? (Required)
Empty set
### 3. What did you see instead (Required)
```
+--------+
| c / 3 |
+--------+
| 0.3333 |
+--------+
```
### 4. What is your TiDB version? (Required)
```
tiup playground nightly --host 0.0.0.0 --kv 3 --tiflash 3
```
```
8.0.11-TiDB-v9.0.0-beta.2.pre-384-g5fab436
```
Contributor guide
Assessment
This issue has not been assessed yet.