fc3f04b7b6
parser: support keep_order and no_keep_order hint ( #39965 )
...
ref pingcap/tidb#39964
2022-12-21 22:16:55 +08:00
b0c338139c
parser: allow drop stats of multiple tables ( #38042 )
...
close pingcap/tidb#37872
2022-11-14 14:45:54 +08:00
1ffbfcc346
parser: support hash_join_build and hash_join_probe ( #37308 )
2022-08-29 12:00:22 +08:00
42ee03f654
parser: support the hash_build and hash_probe hints ( #36615 )
...
ref pingcap/tidb#35439
2022-08-08 12:40:46 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
a6b3f3d454
compact: Add syntax for COMPACT command without specifying the replica ( #36368 )
...
ref pingcap/tidb#34749
2022-07-20 16:53:09 +08:00
a57dd37640
planner: add a hint for CTE ( #34574 )
...
close pingcap/tidb#17472
2022-07-19 14:31:07 +08:00
255dc8cae3
parser: support the ordered_hash_join hint ( #35440 )
...
ref pingcap/tidb#35439
2022-06-17 03:32:35 +08:00
01fb9355d6
executor: add ALTER TABLE COMPACT support ( #34741 )
...
ref pingcap/tidb#34749
2022-05-19 00:44:38 +08:00
3e13ef364b
parser: support join order hint ( #34337 )
...
ref pingcap/tidb#29932
2022-05-05 19:22:55 +08:00
b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
11b61738f3
parser: migrate test-infra to testify ( #29191 )
2021-10-28 12:30:49 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
f09db3e3ce
[parser] feat: force_index hint ( #1205 )
2021-10-09 14:53:23 +08:00
bc860cdd5e
[parser] *: fix static check report ( #1195 )
...
* ast: base.go
Signed-off-by: xhe <xw897002528@gmail.com >
* ast: expressions.go
Signed-off-by: xhe <xw897002528@gmail.com >
* ast: misc_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: digester.go
Signed-off-by: xhe <xw897002528@gmail.com >
* goyacc: format_yacc.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: lexer_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: misc.go
Signed-off-by: xhe <xw897002528@gmail.com >
* model: model.go
Signed-off-by: xhe <xw897002528@gmail.com >
* model: model_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* *: parser_test.go
Signed-off-by: xhe <xw897002528@gmail.com >
* test_driver: test_driver_datum.go
Signed-off-by: xhe <xw897002528@gmail.com >
* test_driver: test_driver_mydecimal.go
Signed-off-by: xhe <xw897002528@gmail.com >
* ast: ddl.go, bugfix
Signed-off-by: xhe <xw897002528@gmail.com >
* mysql: errcode.go
charset/charset.go is passing errcode to NewStd, which requires int. But
here codes are uint16. To get rid of the error, uint16 is removed.
Signed-off-by: xhe <xw897002528@gmail.com >
* model: better test
Signed-off-by: xhe <xw897002528@gmail.com >
* *: fix timezone
Signed-off-by: xhe <xw897002528@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-10-09 14:53:23 +08:00
d30b7993b0
[parser] ast: fix Restore for INL_HASH_JOIN / INL_MERGE_JOIN hints ( #1091 )
2021-10-09 14:53:23 +08:00
00712da525
[parser] parser: rename topn_to_cop hint to limit_to_cop hint. ( #1028 )
...
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
2021-10-09 14:53:23 +08:00
b77fec8b53
[parser] parser: add topn_to_cop hint ( #981 )
2021-10-09 14:53:23 +08:00
14a88e41ec
[parser] Add hint for broadcast join. ( #818 )
...
* add hint for bc join
* refine
* add hint for bc join
* refine
* refine
* refine
* refine again
* pass test
* fix compile error
* add prefer local
* use bcj_local
* change bc_join to broadcast_join
Co-authored-by: xufei <xufeixw@mail.ustc.edu.cn >
Co-authored-by: ichn-hu <zfhu16@fudan.edu.cn >
2021-10-09 14:53:23 +08:00
cb9c1833c9
[parser] add hint nth_plan for plan test. ( #893 )
2021-10-09 14:53:23 +08:00
ecb9e410a4
[parser] parser: support partition in table hint ( #880 )
2021-10-09 14:53:23 +08:00
4d341938ee
[parser] ast: implement SensitiveStmtNode for BRIEStmt ( #842 )
2021-10-09 14:53:23 +08:00
ea8d816ea7
[parser] rename sm_join to merge_join, letter case correction ( #775 )
...
Co-authored-by: kennytm <kennytm@gmail.com >
2021-10-09 14:53:23 +08:00
1471d3cc89
[parser] parser: add USE_CASCADES hint syntax ( #769 )
...
Signed-off-by: gauss <gauss1314@gmail.com >
2021-10-09 14:53:23 +08:00
b255e058e5
[parser] *: set charset and collate for string literals correctly ( #761 )
...
* done
* address comment
* fix
* revert
2021-10-09 14:53:23 +08:00
cfc2e0273f
[parser] refine table optimizer hint and make it more generic ( #747 )
...
* refine table optimizer hint and make it more generic
Signed-off-by: Lonng <heng@lonng.org >
* implement the restore
Signed-off-by: Lonng <heng@lonng.org >
* address comment
Signed-off-by: Lonng <heng@lonng.org >
* address comment
Signed-off-by: Lonng <heng@lonng.org >
* fix typo
Signed-off-by: Lonng <heng@lonng.org >
2021-10-09 14:53:23 +08:00
b4395cd5a9
[parser] parser: support database name for optimizer hint ( #586 )
2021-10-09 14:53:23 +08:00
f26c3e85f4
[parser] parser: add support for SHUTDOWN syntax ( #580 )
...
* add support for SHUTDOWN syntax
* add SHUTDOWN privilege syntax
2021-10-09 14:53:23 +08:00
26d10784e4
[parser] add IGNORE_INDEX hint ( #550 )
2021-10-09 14:53:23 +08:00
a9ac52b528
[parser] fix CONSTRAINT syntax ( #548 )
2021-10-09 14:53:23 +08:00
ece045c976
[parser] add a table hint to access table from a specific type of storage. ( #446 )
2021-10-09 14:53:23 +08:00
aa86dbe09c
[parser] parser: add agg_to_cop hint ( #517 )
2021-10-09 14:53:23 +08:00
c7bb4e645c
[parser] change memory quota hint argument ( #513 )
2021-10-09 14:53:23 +08:00
e1690e7912
[parser] parser: support query block in hint ( #491 )
2021-10-09 14:53:23 +08:00
fadfe65c2e
[parser] parser: add several optimizer hints ( #424 )
2021-10-09 14:53:23 +08:00
9d0531f362
[parser] Support update pump or drainer status ( #243 )
2021-10-09 14:53:23 +08:00
0e6164a43e
[parser] parser: implement Restore for SelectStmt ( #153 )
2021-10-09 14:53:23 +08:00
8862bb53b1
[parser] ignore hint when meet unknow token in hint ( #80 )
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