pingcap / pingcap/tidb

TiFlash behaves differently from TiDB

Open
#63,818 0 comments 0 reactions 0 assignees View on GitHub
affects-8.5 contribution impact/inconsistency may-affects-6.5 may-affects-7.1 may-affects-7.5 may-affects-8.1 severity/major sig/execution type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

```sql
create table t0 (c1 int);
insert into t0 (c1) values(65535);

select c1 from t0 where (1/c1); -- (65535)

alter table t0 set tiflash replica 1;
SET SESSION tidb_enforce_mpp = ON;
select c1 from t0 where (1/c1); -- empty set
```

### 2. What did you expect to see? (Required)
same result

### 3. What did you see instead (Required)
different result

### 4. What is your TiDB version? (Required)
```
Release Version: v8.5.3
Edition: Community
Git Commit Hash: dc2548aac79a712265e831cff2a3a896bc0a5a38
Git Branch: HEAD
UTC Build Time: 2025-09-26 10:07:20
GoVersion: go1.23.6
Race Enabled: false
Check Table Before Drop: false
Store: tikv
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.