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

sql: update sql-statement-create-index.md #11376

Merged
merged 1 commit into from
Sep 22, 2022
Merged
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
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-create-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ CREATE UNIQUE INDEX c1 ON t1 (c1) INVISIBLE;

## MySQL 兼容性

* 不支持 `FULLTEXT`,`HASH` 和 `SPATIAL` 索引。
* TiDB 支持解析 `FULLTEXT` 和 `SPATIAL` 语法,但尚不支持使用 `FULLTEXT`,`HASH` 和 `SPATIAL` 索引。
* 不支持降序索引 (类似于 MySQL 5.7)。
* 无法向表中添加 `CLUSTERED` 类型的 `PRIMARY KEY`。要了解关于 `CLUSTERED` 主键的详细信息,请参考[聚簇索引](/clustered-indexes.md)。
* 表达式索引与视图存在兼容性问题。通过视图进行查询时,无法使用上表达式索引。
Expand Down