Commit Graph

27 Commits

Author SHA1 Message Date
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
a9cba7c8e8 ddl: refine some error messages related to generated column and expression index (#26844) 2021-08-04 13:03:06 +08:00
72807efe20 variable, ddl: allow auto inc columns in generated columns and expression indexes (#23940) 2021-07-28 16:22:18 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
4bde135acd ddl: generated columns to be disallowed more completely for column type change operation (need to change the data) (#24320) 2021-05-07 16:06:42 +08:00
7f9c716854 expression, ddl: check the argument count for the generated column (#22154)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-05 13:45:45 +08:00
5f73293cf5 ddl: check the generated column offset when modifies column (#21458)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 17:30:48 +08:00
2c8b28c37b ddl: forbid invalid usage of window function in the generated column (#20855)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-06 12:06:32 +08:00
5ad75fd215 ddl, executor: add error for functional index cannot refer to an auto-increment column (#20336)
Signed-off-by: lihaowei <haoweili35@gmail.com>
2020-10-09 08:14:40 +08:00
57b244e9e0 ddl, errno: fix expression index allows row function (#19987)
Signed-off-by: wangggong <793160615@qq.com>
2020-09-30 16:23:54 +08:00
1cc33b0b36 ddl: Support exchange partition (#17149) 2020-06-10 13:31:07 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
2354fad905 ddl: implement SQL functions allowed / blocked rules in genera… (#12251) 2019-10-10 12:37:25 +08:00
110b073aa7 ddl: Fix generated column can refer only to generated columns defined prior to it. (#11549) 2019-08-08 11:58:33 +08:00
88db7ff17b infoschema: fix compatibility of auto_increment column value o… (#10207) 2019-07-23 15:52:29 +08:00
755875aacb ddl: disallow modifying the generated expression of stored or indexed column (#10932) 2019-07-03 17:28:21 +08:00
c59a108c28 ddl, expression: Disallow add stored generated columns through ALTER TABLE (#10758) 2019-06-13 21:14:40 +08:00
9251724533 ddl, expression: disable nondeterministic function calls for generated columns (#9239) 2019-03-23 10:43:06 +08:00
7ac4902b8f ddl: disallow generated column referring to auto_increment column (#9234) 2019-03-01 11:50:13 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00
3b26de9c9f Fix typo (#3583) 2017-06-30 14:48:45 +08:00
9575deeb10 ddl: add more features about generated column. (#3431)
DESC table_with_generated_column;
SHOW CREATE TABLE table_with_generated_column;
If generated expression in DDL references bad column, throw error;
If alter table change/drop column dependent by other columns, throw error;
if alter table change/modify generated columns, throw error if needs.
2017-06-13 18:53:58 +08:00