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

branch-2.1: [fix](partition) Incorrectly add partition to non-partitioned table #48121 #48323

Open
wants to merge 1 commit into
base: branch-2.1
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

Cherry-picked from #48121

…48121)

Issue Number: close #48111

Related PR: #xxx

```
mysql> CREATE TABLE t (
    ->     id int null,
    ->     k largeint null
    -> )
    -> DISTRIBUTED BY HASH(`k`, `id`) BUCKETS 16
    -> PROPERTIES (
    ->     "replication_num" = "1"
    -> );
Query OK, 0 rows affected (0.03 sec)

mysql> alter table t add partition p1 values in ((1));
Query OK, 0 rows affected (0.03 sec)

mysql> alter table t drop partition p1;
ERROR 1105 (HY000): errCode = 2, detailMessage = Alter table [t] failed. Not a partitioned table
```
@Thearas
Copy link
Contributor

Thearas commented Feb 25, 2025

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Feb 25, 2025
@Thearas
Copy link
Contributor

Thearas commented Feb 25, 2025

run buildall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants