pingcap / pingcap/tidb

create temporary table like table with shard_row_id_bits fail

Open
#65,430 0 comments 0 reactions 1 assignee Claimed by @bb7133 View on GitHub
contribution sig/sql-infra type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report
Create temporary table like table with shard_row_id_bits fails, however we want the ddl success.
We hope the ddl can remove shard_row_id_bits internally.

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

1. create a table with shard_row_id_bits
2. create temporary table like above table

![Image](https://github.com/user-attachments/assets/e5f97958-1ee5-4f07-a385-03a3938c2bac)

### 2. What did you expect to see? (Required)
can create the temporary table normally, which can remove shard_row_bits automatically.

### 3. What did you see instead (Required)
create temporary table fails

### 4. What is your TiDB version? (Required)
v8.5.3

v8.5.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.