Commit Graph

526 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
971deb6202 *: add a new I_S table and support show create for resource groups (#40665)
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
cbe228fe50 hint: fix the problem that set var hint is invalid when create binding (#40569)
close pingcap/tidb#40570
2023-01-13 18:29:47 +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
b912237ac7 planner: support keep_order and no_keep_order hint (#40089)
ref pingcap/tidb#39964
2023-01-09 21:42:22 +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
5327d07afc planner: refactor plan-cache UseCache flag (#40256)
ref pingcap/tidb#36598
2023-01-03 17:30:20 +08:00
702a5598f9 ddl, parser: make generated column and expression index same as MySQL (#39888)
close pingcap/tidb#39826
2022-12-30 20:20:17 +08:00
cf34941401 ttl: make the TTL compatible with dumpling, lightning and BR (#40216)
close pingcap/tidb#40215
2022-12-29 16:30:21 +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
62a80014bd parser: support syntax set binding status by sql digest (#39515)
ref pingcap/tidb#39199
2022-12-14 22:42:52 +08:00
b41be060b9 expression: support json_overlaps function (#39867)
ref pingcap/tidb#39866
2022-12-14 12:48: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
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +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
adcacd8d89 planner: support drop binding by sql digest (#39399)
ref pingcap/tidb#39199
2022-11-30 21:02:01 +08:00
84fa999186 txn: support multi-table join in nt-dml (#39139)
ref pingcap/tidb#33485
2022-11-24 14:33:58 +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
c39506486a planner: add more test cases for view hint (#39126)
ref pingcap/tidb#37887
2022-11-15 14:13:54 +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
873a3ea719 json: add json_storage_free function (#38544)
close pingcap/tidb#38517
2022-10-21 14:03:55 +08:00
431a9d8b66 planner: remove two useless hints mpp_tidb_agg and mpp_scalar_agg (#38574) 2022-10-20 17:31:55 +08:00
xhe
4f5eafd721 *: fix restore error typo (#38578) 2022-10-20 17:11:54 +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
150813dd86 preprocessor, planner: inline processing by default for single-consumer cte (#37800) 2022-09-29 00:09:40 +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
3f85f8e4ed Compatibility: SQL_SELECT_LIMIT worked in show statement; (#33696)
close pingcap/tidb#33407
2022-09-28 13:19:45 +08:00
a6a0ad2c01 parser,executor: add tidb_current_tso() function (#37037)
close pingcap/tidb#37035
2022-09-26 13:35:44 +08:00
df8226339f parser, planner: add query block level no_decorrelate hint (#37633)
close pingcap/tidb#37789
2022-09-20 14:57:04 +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