Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no warning info after reorganize partition #42183

Closed
aytrack opened this issue Mar 14, 2023 · 0 comments · Fixed by #42367
Closed

no warning info after reorganize partition #42183

aytrack opened this issue Mar 14, 2023 · 0 comments · Fixed by #42367
Assignees
Labels
affects-7.0 component/tablepartition This issue is related to Table Partition of TiDB. severity/moderate sig/sql-infra SIG: SQL Infra type/bug This issue is a bug.

Comments

@aytrack
Copy link
Contributor

aytrack commented Mar 14, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

 create table t1 (id bigint, b varchar(20), index idxb(b)) partition by range(id) (partition p0 values less than (20), partition p1 values less than (100));
 alter table t1 reorganize partition p0 into (partition p01 values less than (10), partition p02 values less than (20));
show warnings;

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

Need a prompt the user that the statistics are not up-to-date when the DDL is done

3. What did you see instead (Required)

[10:48:01]TiDB root:test> show warnings
+-------+------+---------+
| Level | Code | Message |
+-------+------+---------+
+-------+------+---------+
0 rows in set
Time: 0.049s

4. What is your TiDB version? (Required)

[10:51:19]TiDB root:test> select tidb_version();
+-----------------------------------------------------------+
| tidb_version()                                            |
+-----------------------------------------------------------+
| Release Version: v6.7.0-alpha                             |
| Edition: Community                                        |
| Git Commit Hash: 145b7cdf72feeecf7f2b0b3e01693c603712dce5 |
| Git Branch: heads/refs/tags/v6.7.0-alpha                  |
| UTC Build Time: 2023-03-11 11:42:07                       |
| GoVersion: go1.20.2                                       |
| Race Enabled: false                                       |
| TiKV Min Version: 6.2.0-alpha                             |
| Check Table Before Drop: false                            |
| Store: tikv                                               |
+--------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.0 component/tablepartition This issue is related to Table Partition of TiDB. severity/moderate sig/sql-infra SIG: SQL Infra type/bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants