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 1 commit
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: 2 additions & 2 deletions dev/reference/sql/generated-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ CREATE TABLE person (
目前 JSON and generated column 有以下局限性:

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

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

- 不能通过 `ALTER TABLE` 增加 `STORED` 存储方式的 generated column;
- 不能通过 `ALTER TABLE` 在 generated column 上增加索引;
- 不能通过 `ALTER TABLE` 将 Generated stored column 转换为普通列,或者反过来,将普通列转换为 Generated store column。
- 不能通过 `ALTER TABLE` 修改 Generated stored 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)。
4 changes: 2 additions & 2 deletions v3.1/reference/sql/generated-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ CREATE TABLE person (
目前 JSON and generated column 有以下局限性:

- 不能通过 `ALTER TABLE` 增加 `STORED` 存储方式的 generated column;
- 不能通过 `ALTER TABLE` 将 Generated stored column 转换为普通列,或者反过来,将普通列转换为 Generated store column。
- 不能通过 `ALTER TABLE` 修改 Generated stored column 的**生成列表达式**;
- 不能通过 `ALTER TABLE` 将 generated stored column 转换为普通列,也不能将普通列转换成 generated stored column。
- 不能通过 `ALTER TABLE` 修改 generated stored column 的**生成列表达式**;
- 并未支持所有的 [JSON 函数](/v3.1/reference/sql/functions-and-operators/json-functions.md)。