-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
auto_random metaphors the column be PK but has no way to be clustered #23235
Labels
Comments
lysu
changed the title
auto_random metaphors the column be primary key but cannot be clustered
auto_random metaphors the column be PK but has no way to be clustered
Mar 10, 2021
user can work around by change ddl to
it's low priority to fix this, just mark |
So the expected behavior is that |
jebter
added
sig/transaction
SIG:Transaction
and removed
sig/sql-infra
SIG: SQL Infra
labels
Mar 12, 2021
Closed
tangenta
added
type/enhancement
The issue or PR belongs to an enhancement.
and removed
type/bug
The issue is confirmed as a bug.
severity/minor
labels
Jun 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
create table
t
that a be clustered primary key3. What did you see instead (Required)
ERROR 8216 (HY000): Invalid auto random: column a is not the integer primary key, or table is created with alter-primary-key enabled
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: