You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
createtablet (c int, a intnot nullprimary key, b int) partition by range (a) (partition p0 values less than (10), partition pMax values less than (maxvalue));
insert into t values(1, 13, 1);
select*from t WHERE`a` BETWEEN 13AND13;
tidb> create table t (c int, a intnot nullprimary key, b int) partition by range (a) (partition p0 values less than (10), partition pMax values less than (maxvalue));
Query OK, 0 rows affected (0.08 sec)
tidb>insert into t values(1, 13, 1);
Query OK, 1 row affected (0.01 sec)
tidb>select*from t WHERE`a` BETWEEN 13AND13;
Empty set (0.00 sec)
tidb>select*from t;
+------+----+------+
| c | a | b |
+------+----+------+
| 1 | 13 | 1 |
+------+----+------+1 row inset (0.00 sec)
The row exists, but will not be found due to bad partitioning pruning.
4. What is your TiDB version? (Required)
tidb_version(): Release Version: v8.0.0-alpha-491-gb609fa6d27
Edition: Community
Git Commit Hash: b609fa6d271b514dfc83530c5e14812dd043cd2e
Git Branch: HEAD
UTC Build Time: 2024-03-13 19:22:29
GoVersion: go1.21.6
Race Enabled: false
Check Table Before Drop: false
Store: tikv
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
This is a regression from #49161.
2. What did you expect to see? (Required)
The row that was just inserted.
3. What did you see instead (Required)
The row exists, but will not be found due to bad partitioning pruning.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: