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

*: clarify unsupported behavior in generated column #2262

Merged
merged 7 commits into from
Feb 21, 2020
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion dev/reference/sql/generated-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,6 @@ CREATE TABLE person (
目前 JSON and generated column 有以下局限性:

- 不能通过 `ALTER TABLE` 增加 `STORED` 存储方式的 generated column;
- 并未支持所有的 [JSON 函数](/dev/reference/sql/functions-and-operators/json-functions.md)。
- 不能通过 `ALTER TABLE` 将 generated stored column 转换为普通列,也不能将普通列转换成 generated stored column;
- 不能通过 `ALTER TABLE` 修改 generated stored column 的**生成列表达式**;
- 并未支持所有的 [JSON 函数](/dev/reference/sql/functions-and-operators/json-functions.md)。
3 changes: 3 additions & 0 deletions v2.1/reference/sql/generated-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,7 @@ CREATE TABLE person (

- 不能通过 `ALTER TABLE` 增加 `STORED` 存储方式的 generated column;
- 不能通过 `ALTER TABLE` 在 generated column 上增加索引;
- 不能通过 `ALTER TABLE` 将 generated stored column 转换为普通列,也不能将普通列转换成 generated stored column;
- 不能通过 `ALTER TABLE` 修改 generated stored column 的**生成列表达式**;
- 不支持在 DML 语句中将生成列赋值为 `DEFAULT`;
- 并未支持所有的 [JSON 函数](/v2.1/reference/sql/functions-and-operators/json-functions.md)。
2 changes: 2 additions & 0 deletions v3.0/reference/sql/generated-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,6 @@ CREATE TABLE person (

- 不能通过 `ALTER TABLE` 增加 `STORED` 存储方式的 generated column;
- 不能通过 `ALTER TABLE` 在 generated column 上增加索引;
- 不能通过 `ALTER TABLE` 将 generated stored column 转换为普通列,也不能将普通列转换成 generated stored column;
- 不能通过 `ALTER TABLE` 修改 generated stored column 的**生成列表达式**;
- 并未支持所有的 [JSON 函数](/v3.0/reference/sql/functions-and-operators/json-functions.md)。
3 changes: 2 additions & 1 deletion v3.1/reference/sql/generated-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@ CREATE TABLE person (
目前 JSON and generated column 有以下局限性:

- 不能通过 `ALTER TABLE` 增加 `STORED` 存储方式的 generated column;
- 不能通过 `ALTER TABLE` 在 generated column 上增加索引;
Deardrops marked this conversation as resolved.
Show resolved Hide resolved
- 不能通过 `ALTER TABLE` 将 generated stored column 转换为普通列,也不能将普通列转换成 generated stored column;
- 不能通过 `ALTER TABLE` 修改 generated stored column 的**生成列表达式**;
- 并未支持所有的 [JSON 函数](/v3.1/reference/sql/functions-and-operators/json-functions.md)。