Commit Graph

971 Commits

Author SHA1 Message Date
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
13ac510474 *: change flashback grammar to flashback cluster to timestamp (#37815) 2022-09-14 19:12:58 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
cc5d828e92 parser: let flashback cluster don't support expr (#37569)
close pingcap/tidb#37495
2022-09-02 16:56:24 +08:00
a04000cd89 *: merge feature/flashback-cluster to master (#37529)
ref pingcap/tidb#37197
2022-09-01 10:58:24 +08:00
1ffbfcc346 parser: support hash_join_build and hash_join_probe (#37308) 2022-08-29 12:00:22 +08:00
3977a0ac11 parser: fix test_driver with RestoreStringWithoutCharset and RestoreStringWithoutDefaultCharset flag (#37248)
close pingcap/tidb#37175
2022-08-22 17:58:20 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
42935af3cc parser,ddl: Interval partitioning (#35662)
ref pingcap/tidb#19132, close pingcap/tidb#35683
2022-08-09 19:06:49 +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
eaead0238e parser: add support of 'ADMIN SHOW DDL JOB QUERIES LIMIT m OFFSET n' transferring to AST (#36285)
ref pingcap/tidb#36198
2022-07-22 16:09:09 +08:00