Commit Graph

982 Commits

Author SHA1 Message Date
7cd2029773 session: support set current session's resource group name (#41722)
ref pingcap/tidb#38825
2023-03-06 23:29:11 +08:00
17bbc2961b *: support resource_group sql hint (#41678)
* *: support resource_group sql hint

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: refine case

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: make case stable

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: code format

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: relocate the cases

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix bazel attribute

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix bazel

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: code fmt

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: code format

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: address comments

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: address comments for 2nd round

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: polish check logic

Signed-off-by: BornChanger <dawn_catcher@126.com>

---------

Signed-off-by: BornChanger <dawn_catcher@126.com>
2023-03-06 18:34:13 +08:00
8497f7d32b parser: add NULL DEFINED BY and FORMAT to LOAD DATA (#41332)
ref pingcap/tidb#40499
2023-02-15 18:02:02 +08:00
48bc046fe1 executor: support plan replayer capture remove task (#41258)
close pingcap/tidb#41262
2023-02-11 12:04:02 +08:00
85c48edbb6 placement: supports survival preferences (#40613)
close pingcap/tidb#38605
2023-02-08 17:51:59 +08:00
3f0964ff9d ddl: disable raw mode resource group (#41050)
close pingcap/tidb#41049
2023-02-08 14:09:59 +08:00
391c551258 parser: move LOAD DATA REMOTE into LOAD DATA (#41091)
ref pingcap/tidb#40499
2023-02-07 20:25:58 +08:00
a4b18ce359 resource_group: supports burstable for resource group (#40925)
close pingcap/tidb#40380
2023-02-02 17:35:57 +08:00
f0575a847b *: unify wru,rru to ru (#40884)
close pingcap/tidb#40883
2023-02-02 11:47:56 +08:00
774913c768 planner: rename keep_order hint to order_index hint for mysql compatibility (#40945) 2023-02-01 22:03:56 +08:00
920f0199c1 parser: Fix for field name output in multi statements (#40736)
close pingcap/tidb#39662
2023-01-31 19:05:54 +08:00
dc30a5b7b3 *: LOAD DATA support load one file from s3 and other OSS (#40489)
ref pingcap/tidb#40499
2023-01-18 15:27:51 +08:00
26dab31068 ttl: support float number and store ttl_job_interval in info schema (#40509)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 16:42:34 +08:00
df019ae5ba parser: use identifier as user's resource group name (#40479)
* parser: use identifier as user's resource group name and also fix a drop resource group bug

Signed-off-by: BornChanger <dawn_catcher@126.com>

* executor: fix case

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: format parser.y

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix store function of resource group

Signed-off-by: BornChanger <dawn_catcher@126.com>

Signed-off-by: BornChanger <dawn_catcher@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 15:50:34 +08:00
b477b1c946 *: Supports create/alter/drop resource group (#40188)
ref pingcap/tidb#38825
2023-01-09 13:44:22 +08:00
b226dfcb05 ttl: add ttl_job_interval attribute and remove tidb_ttl_job_interval variable (#40033)
close pingcap/tidb#40028
2023-01-06 17:56:21 +08:00
affe126097 *: support curdate() as column's default value | tidb-test=pr/2057 (#40326)
close pingcap/tidb#38356
2023-01-05 16:14:20 +08:00
18c71f40f6 parser: fix cast function restore (#40129)
close pingcap/tidb#40130
2022-12-23 14:24:14 +08:00
fc3f04b7b6 parser: support keep_order and no_keep_order hint (#39965)
ref pingcap/tidb#39964
2022-12-21 22:16:55 +08:00
ae58fa1c8b expression: introduce cast(... as ... array) in expression index (#39992)
close pingcap/tidb#40045
2022-12-20 12:56:54 +08:00
62a80014bd parser: support syntax set binding status by sql digest (#39515)
ref pingcap/tidb#39199
2022-12-14 22:42:52 +08:00
621115bf67 ttl, variables: add system variables for ttl job schedule (#39727)
close pingcap/tidb#39725
2022-12-13 14:28:51 +08:00
3183582106 parser: add cast to array and member of support (#39820)
close pingcap/tidb#39821
2022-12-12 21:28:51 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
7af9eb6028 parser: supports create/alter/drop resource group (#39546)
ref pingcap/tidb#38825
2022-12-05 19:32:08 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
202f72389a planner: support create binding from history (#39436)
ref pingcap/tidb#39199
2022-12-01 19:50:03 +08:00
6a4b909c7d parser: add global variable to control ttl syntax (#39483)
close pingcap/tidb#39482
2022-12-01 18:18:01 +08:00
8e0e49ca65 *: support JSON format output in explain statement (#39253)
ref pingcap/tidb#39261
2022-12-01 12:12:01 +08:00
adcacd8d89 planner: support drop binding by sql digest (#39399)
ref pingcap/tidb#39199
2022-11-30 21:02:01 +08:00
84ee2845ad parser: use alter table remove ttl spec (#39341)
close pingcap/tidb#39340
2022-11-24 10:23:58 +08:00
2255898462 parser: add syntax for ttl option in ddl (#39277)
close pingcap/tidb#39268
2022-11-22 15:35:58 +08:00
9c48480180 parser, executor: implement plan replayer capture statement (#39181)
ref pingcap/tidb#38779
2022-11-17 23:09:56 +08:00
b0c338139c parser: allow drop stats of multiple tables (#38042)
close pingcap/tidb#37872
2022-11-14 14:45:54 +08:00
238caf6571 *: add statistic lock/unlock function (#38387) 2022-11-11 22:25:54 +08:00
d7bd49a457 session: support non-transactional insert statements (#38799)
ref pingcap/tidb#33485
2022-11-04 02:28:00 +08:00
0e23da6e7c *: create a user using tidb_auth_token authentication (#38585)
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
b80a39fc9f parser: supports flashback table and flashback database (#38546)
close pingcap/tidb#38545
2022-10-24 13:47:55 +08:00
9d606cd4fe parser, execution: support kill connection_id() (#37650)
close pingcap/tidb#37261
2022-10-21 16:01:54 +08:00
431a9d8b66 planner: remove two useless hints mpp_tidb_agg and mpp_scalar_agg (#38574) 2022-10-20 17:31:55 +08:00
4699c7d896 *: support ATTRIBUTE and COMMENT in CREATE USER and ALTER USER statements (#38201)
close pingcap/tidb#38172
2022-10-20 14:35:54 +08:00
e48f35751f session: refactor non-transactional DML to make it ready for more DML types (#38197)
ref pingcap/tidb#33485
2022-10-19 17:35:53 +08:00
7a9ed6f8c4 planner: introduce some new hints for MPP plans (#38516) 2022-10-19 15:49:54 +08:00
300d9e7c63 ddl: Support flashback schema (#37438)
close pingcap/tidb#20463
2022-10-19 15:03:54 +08:00
ecbe72c6d7 parser: add order field in IndexPartSpecification struct (#38137) 2022-10-12 14:37:51 +08:00
e0eaefc8be fix(parser): restore table option INSERT_METHOD should use WriteKeyWord (#38355)
close pingcap/tidb#38368
2022-10-10 19:37:49 +08:00
415d03f956 executor: ALTER TABLE COMPACT support partition (#36173)
ref pingcap/tiflash#5315, close pingcap/tidb#36175
2022-09-28 13:41:44 +08:00
dcdbb87904 expression: support all regexp functions (#37407)
close pingcap/tidb#23881
2022-09-16 14:43:00 +08:00
26f4604e45 parser: support plan replayer dump explain file (#37807)
ref pingcap/tidb#37798
2022-09-15 11:52:59 +08:00