Commit Graph

30 Commits

Author SHA1 Message Date
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
511776d406 [parser] parser: remove sequence order option support (#796) 2021-10-09 14:53:23 +08:00
486bd152dc [parser] model: add invisible option for IndexInfo (#771)
* model: add invisible option for IndexInfo

* fmt

Co-authored-by: kennytm <kennytm@gmail.com>
2021-10-09 14:53:23 +08:00
12683245ad [parser] parser: remove useless IndexToProto,ColumnToProto,ColumnsToProto function (#762) 2021-10-09 14:53:23 +08:00
126233c2b1 [parser] model: do not rewrite collation id as default for tipb. (#752) 2021-10-09 14:53:23 +08:00
9a0826d097 [parser] model: add partition replica available info to support partition table in tiflash (#742)
Signed-off-by: crazycs <crazycs520@gmail.com>
2021-10-09 14:53:23 +08:00
2549fe5ce1 [parser] parser: support expression restored string in default value. (#731) 2021-10-09 14:53:23 +08:00
b3ae107597 [parser] fix json field name in #571 (#702) 2021-10-09 14:53:23 +08:00
b5701d9165 [parser] parser : Add model & errcode & errname for supporting sequence. (#691) 2021-10-09 14:53:23 +08:00
385d05ce3e [parser] parser: support syntax for AUTO_RANDOM (#571) 2021-10-09 14:53:23 +08:00
07f157ca8c [parser] model: add a function GetTypeDesc for ColumnInfo (#659) 2021-10-09 14:53:23 +08:00
194335f65f [parser] model: add hidden to ColumnInfo (#621)
* add hidden

* make codecov happy

* support extended

* clean code

* address comment

* tweak

* address comment
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
7c3199735d [parser] add support for RTREE index (#433) 2021-10-09 14:53:23 +08:00
92ba8bb89b [parser] *: support parsing all PARTITION BY syntax (#345) 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
1fa4d04572 [parser] *: fix upper-cased charset and collation name (#301) 2021-10-09 14:53:23 +08:00
64b24c11d0 [parser] charset: add GetSupportedCollations to get only supported collations (#295) 2021-10-09 14:53:23 +08:00
5ac172fb58 [parser] *: add table option: pre_split_regions (#287)
* *: add table option: pre_split_resions

* refine code

* add PreSplitRegions in tableInfo

* Update misc.go

Co-Authored-By: crazycs520 <crazycs520@gmail.com>

* Update parser.y

Co-Authored-By: crazycs520 <crazycs520@gmail.com>

* address comment

* refine comment
2021-10-09 14:53:23 +08:00
18ba909e44 [parser] model: add MaxShardRowIDBits to table info to record the max ShardRowIDBits be used so far (#252)
* model: add MaxShardRowIDBits to table info to record the max ShardRowIDBits be used so far

* address comment
2021-10-09 14:53:23 +08:00
cc8fcaa47a [parser] model: add FindIndexByName function (#267) 2021-10-09 14:53:23 +08:00
036d077593 [parser] model: increase table and column version (#254) 2021-10-09 14:53:23 +08:00
fb046c5501 [parser] model: add version field to tableInfo. (#223) 2021-10-09 14:53:23 +08:00
c804203630 [parser] model: add version number to Column (#183) 2021-10-09 14:53:23 +08:00
cc7fbfb56a [parser] model: add IsAutoIncColUnsigned for TableInfo (#79) 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
87917e47b4 [parser] parser,ast: fix create table partition by hash syntax (#33) 2021-10-09 14:53:23 +08:00
8c54ae8e22 [parser] model: add isUnsigned for allocator (#34) 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