Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion temporary-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ SET GLOBAL tidb_tmp_table_max_size=268435456;
Local temporary tables and global temporary tables in TiDB are **NOT** compatible with the following TiDB features:

- `AUTO_RANDOM` columns
- `SHARD_ROW_ID_BITS` and `PRE_SPLIT_REGIONS` table options
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Removing this line is correct. To further improve the documentation, consider adding an example of creating a temporary table with SHARD_ROW_ID_BITS and PRE_SPLIT_REGIONS in the 'Usage examples' sections. This would demonstrate the new compatibility to users. For example:

CREATE TEMPORARY TABLE users (
    id BIGINT,
    name VARCHAR(100),
    city VARCHAR(50),
    PRIMARY KEY(id)
) SHARD_ROW_ID_BITS = 4 PRE_SPLIT_REGIONS = 2;

- Partitioned tables
- `SPLIT REGION` statements
- `ADMIN CHECK TABLE` and `ADMIN CHECKSUM TABLE` statements
Expand Down