From dc5901c24132e4c75dc916a084f3bf87a60e2c3b Mon Sep 17 00:00:00 2001
From: JoyinQin <56883733+Joyinqin@users.noreply.github.com>
Date: Mon, 12 Oct 2020 13:47:17 +0800
Subject: [PATCH 1/3] *: remove expression index out of experimental feature
---
sql-statements/sql-statement-create-index.md | 12 ------------
tidb-configuration-file.md | 13 +------------
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/sql-statements/sql-statement-create-index.md b/sql-statements/sql-statement-create-index.md
index 2e5f5ee76032f..19d4efecc512c 100644
--- a/sql-statements/sql-statement-create-index.md
+++ b/sql-statements/sql-statement-create-index.md
@@ -111,18 +111,6 @@ Query OK, 0 rows affected (0.31 sec)
## Expression index
-> **Warning:**
->
-> Expression index is still an experimental feature. It is **NOT** recommended that you use it in the production environment.
-
-To use this feature, make the following setting in [TiDB Configuration File](/tidb-configuration-file.md#allow-expression-index-new-in-v400):
-
-{{< copyable "sql" >}}
-
-```sql
-allow-expression-index = true
-```
-
TiDB can build indexes not only on one or more columns in a table, but also on an expression. When queries involve expressions, expression indexes can speed up those queries.
Take the following query as an example:
diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md
index 274f5e265e34b..9fa55f7a62832 100644
--- a/tidb-configuration-file.md
+++ b/tidb-configuration-file.md
@@ -558,15 +558,4 @@ For pessimistic transaction usage, refer to [TiDB Pessimistic Transaction Mode](
## experimental
-The `experimental` section describes configurations related to the experimental features of TiDB. This section is introduced since v3.1.0.
-
-### `allow-auto-random` New in v3.1.0
-
-- Determines whether to allow using `AUTO_RANDOM`.
-- Default value: `false`
-- By default, TiDB does not support using `AUTO_RANDOM`. When the value is `true`, you cannot set `alter-primary-key` to `true` at the same time.
-
-### `allow-expression-index` New in v4.0.0
-
-- Determines whether to create the expression index.
-- Default value: `false`
+The `experimental` section describes configurations related to the experimental features of TiDB. This section is introduced since v3.1.0. Currently, it has no relevant configuration item.
\ No newline at end of file
From b153ab4160c6501c8417a4e28d2f795ac2cf76dc Mon Sep 17 00:00:00 2001
From: JoyinQin <56883733+Joyinqin@users.noreply.github.com>
Date: Mon, 12 Oct 2020 14:00:56 +0800
Subject: [PATCH 2/3] Update tidb-configuration-file.md
---
tidb-configuration-file.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md
index 9fa55f7a62832..03451c85eef4f 100644
--- a/tidb-configuration-file.md
+++ b/tidb-configuration-file.md
@@ -558,4 +558,4 @@ For pessimistic transaction usage, refer to [TiDB Pessimistic Transaction Mode](
## experimental
-The `experimental` section describes configurations related to the experimental features of TiDB. This section is introduced since v3.1.0. Currently, it has no relevant configuration item.
\ No newline at end of file
+The `experimental` section describes configurations related to the experimental features of TiDB. This section is introduced since v3.1.0. Currently, it has no related configuration item.
\ No newline at end of file
From 6d0c3b031deb5d329c7b711513c7dd3df317102a Mon Sep 17 00:00:00 2001
From: TomShawn <41534398+TomShawn@users.noreply.github.com>
Date: Mon, 12 Oct 2020 14:04:14 +0800
Subject: [PATCH 3/3] Update tidb-configuration-file.md
---
tidb-configuration-file.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md
index 03451c85eef4f..02974975d3225 100644
--- a/tidb-configuration-file.md
+++ b/tidb-configuration-file.md
@@ -558,4 +558,4 @@ For pessimistic transaction usage, refer to [TiDB Pessimistic Transaction Mode](
## experimental
-The `experimental` section describes configurations related to the experimental features of TiDB. This section is introduced since v3.1.0. Currently, it has no related configuration item.
\ No newline at end of file
+The `experimental` section, introduced in v3.1.0, describes configurations related to the experimental features of TiDB. Currently, this section has no configuration item.