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!
What did you do?
CREATETABLE `t` (
`a`int(11) DEFAULT NULL,
`b`int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY RANGE COLUMNS(a) (
PARTITION p0 VALUES LESS THAN (1),
PARTITION p1 VALUES LESS THAN (10),
PARTITION p2 VALUES LESS THAN (100)
);
descselect*from t where a =11and b =1or a =12and b =1;
What did you expect to see?
Partition p0 and p1 will not be accessed.
What did you see instead?
All the partitions are accessed.
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you expect to see?
Partition
p0
andp1
will not be accessed.What did you see instead?
All the partitions are accessed.
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: