Skip to content

Commit

Permalink
sql: clarify unsupported behavior in generated column (#2000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deardrops authored Mar 11, 2020
1 parent d0c07fd commit 2ef7942
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reference/sql/generated-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,7 @@ The current limitations of JSON and generated columns are as follows:

- You cannot add the generated column in the storage type of `STORED` through `ALTER TABLE`.
- You cannot create an index on the generated column through `ALTER TABLE`.
- You can neither convert a generated stored column to a normal column through the `ALTER TABLE` statement nor convert a normal column to a generated stored column.
- You cannot modify the **expression** of a generated stored column through the `ALTER TABLE` statement.
- You cannot assign the `DEFAULT` value to generated columns in DML statements.
- Not all [JSON functions](/reference/sql/functions-and-operators/json-functions.md) are supported.

0 comments on commit 2ef7942

Please sign in to comment.