e50e03c92c
parser, ddl: update the DDL job's Location structure ( #31199 )
...
close pingcap/tidb#31212
2022-01-03 14:53:51 +08:00
4f30a14256
ddl: support batch create table ( #28763 )
2021-12-31 17:13:50 +08:00
6e6db1fd35
binlog: allow multiple ddl targets ( #30904 )
2021-12-24 12:55:47 +08:00
93e2c12346
*: Rename some names of placement ddl operation ( #30622 )
2021-12-11 00:41:57 +08:00
28446605c2
expression: fix tidb can't alter table from other-type with null value to timestamp with NOT NULL attribute ( #29664 )
2021-12-03 15:57:54 +08:00
a90c98816e
ddl: fix none info of alter table placement ( #29929 )
2021-11-24 16:53:53 +08:00
a237e41d9f
ddl : support alter table xx nocache operations switch a table into uncacheable ( #29621 )
2021-11-11 17:19:06 +08:00
49d995d577
*: Remove ALTER TABLE ... ALTER PARTITION ... ( #29556 )
2021-11-08 18:05:04 +08:00
a3f3924388
parser: support analyze/stats options when create/alter table ( #29056 )
2021-10-27 14:54:49 +08:00
1777bd0e86
ddl : support alter table xx cache operations ( #29022 )
2021-10-25 22:08:48 +08:00
1bde14a6e9
*: Finish alter placement for objects ( #28982 )
2021-10-25 20:54:49 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
db3b91a0b6
[parser] *: Support syntax of "CREATE/ALTER DATABASE [DEFAULT] PLACEMENT POLICY ..." ( #1351 )
2021-10-09 14:53:23 +08:00
f4591b0e80
[parser] model: support database placement option and partition placement option ( #1342 )
2021-10-09 14:53:23 +08:00
1057322cf7
[parser] parser: support create and alter placement policy ( #1313 )
2021-10-09 14:53:23 +08:00
97cde8c296
[parser] Model: add the new field to the Job Struct. ( #1273 )
2021-10-09 14:53:23 +08:00
386287d9b4
[parser] Support add/drop attributes for table or partition ( #1271 )
2021-10-09 14:53:23 +08:00
83a9450089
[parser] Remove useless const AddIndexStr,AddPrimaryKeyStr ( #1275 )
...
Signed-off-by: JaySon-Huang <tshent@qq.com >
2021-10-09 14:53:23 +08:00
c298f32dd3
[parser] ddl: admin show ddl jobs output confusing with multiple jobs ( #1210 )
...
* change "none" 2 "queueing"
Signed-off-by: lihaowei <haoweili35@gmail.com >
* 4 review
Signed-off-by: lihaowei <haoweili35@gmail.com >
* restore origin word
* *: change none 2 queueing
2021-10-09 14:53:23 +08:00
0ab86feca6
[parser] add ActionType: ActionDropIndexes ( #1186 )
2021-10-09 14:53:23 +08:00
eb188bac29
[parser] ddl: support multiple table rename ( #1021 )
2021-10-09 14:53:23 +08:00
527317804e
[parser] model: add an extra field on Job for passing argumens ( #1052 )
2021-10-09 14:53:23 +08:00
0c0b9d0e05
[parser] model: add SQL mode and warnings field for ddl job ( #1031 )
2021-10-09 14:53:23 +08:00
c307c0dab5
[parser] parser: support ALTER PARTITION clause ( #921 )
2021-10-09 14:53:23 +08:00
329541ccbd
[parser] parser: support alter table add/drop/alter constraint ( #899 )
2021-10-09 14:53:23 +08:00
1bbc918016
[parser] model: correct the usage of json.Unmarshal in DecodeArgs ( #890 )
2021-10-09 14:53:23 +08:00
320651b789
[parser] Add more fields in DiffSchema for exchanging partition ( #883 )
...
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: kennytm <kennytm@gmail.com >
Co-authored-by: tiancaiamao <tiancaiamao@gmail.com >
2021-10-09 14:53:23 +08:00
56449d183d
[parser] *: Add ddl Action Exchange partition ( #852 )
...
* add action of exchange partition
* delete warn
* recreat parser.go
2021-10-09 14:53:23 +08:00
9ad0d12a08
[parser] parser: add new ddl action AlterIndexVisibility ( #840 )
2021-10-09 14:53:23 +08:00
96e2a03403
[parser] parser: rename auto rand table option ( #828 )
2021-10-09 14:53:23 +08:00
97e61aea57
[parser] parser: add auto_random table option support ( #823 )
...
* add auto_random table option support
* .
* .
2021-10-09 14:53:23 +08:00
22fc63f328
[parser] parser: add autoid cache option ( #765 )
2021-10-09 14:53:23 +08:00
79eff12f73
[parser] add new action ActionDropColumns ( #786 )
2021-10-09 14:53:23 +08:00
e7a686be57
[parser] Add new ddl action ActionAddColumns ( #784 )
2021-10-09 14:53:23 +08:00
f7f50a28a7
[parser] DDL : add create sequence support & compatible with mariaDB except OrReplace. ( #658 )
...
* add create sequence support
* fix conflict
* be compatible with mariaDB
* add SignedNum and reformat indent
* add sequence test
* .
* address comment
* not support orreplace by now
* add sequence ddl
* add ddl restore test
* add : no cycle/no cache/no order
* .
* fix ident
2021-10-09 14:53:23 +08:00
a98bbab0f8
[parser] *: spport primary key ( #617 )
2021-10-09 14:53:23 +08:00
24a0caa4af
[parser] *: suport alter table set flash replica syntax ( #564 )
2021-10-09 14:53:23 +08:00
ef25c58596
[parser] parser : support admin repair table syntax ( #547 )
...
* support admin repair table
* fix comment
* add ddl test
* fix depency
2021-10-09 14:53:23 +08:00
d6e9870e73
[parser] model: add schema name, table name to ddl job ( #422 )
...
* model: add schema name, table name to ddl job
* remove table name
2021-10-09 14:53:23 +08:00
4dbad06ee8
[parser] *: try to support lock/unlock tables function ( #305 )
2021-10-09 14:53:23 +08:00
78d1b7f21b
[parser] parser: add support for ALTER DATABASE syntax ( #318 )
2021-10-09 14:53:23 +08:00
6bfe81dce2
[parser] change admin restore table syntax to recover table syntax. ( #180 )
2021-10-09 14:53:23 +08:00
3283ef24ea
[parser] ddl: add admin restore syntax support ( #85 )
...
eg: admin restore table by job 11
2021-10-09 14:53:23 +08:00
3be13d0e75
[parser] add drop view ddl action ( #131 )
2021-10-09 14:53:23 +08:00
03f56baa05
[parser] parser,ast: parse ALTER TABLE .. TRUNCATE PARTITION ( #74 )
2021-10-09 14:53:23 +08:00
3048ced6b7
[parser] *: add ActionModifyTableCharsetAndCollate to support alter table charset and collate ( #14 )
2021-10-09 14:53:23 +08:00
fd3b6465ca
[parser] ast, parser: extract create view parameters to CreateViewStmt ( #55 )
2021-10-09 14:53:23 +08:00
c270f55405
[parser] *: move github.com/pingcap/tidb/parser here ( #1 )
2021-10-09 14:53:23 +08:00