Commit Graph

461 Commits

Author SHA1 Message Date
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +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
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +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
4cade24ed6 *: support the binary plan through EXPLAIN format='binary' and tidb_decode_binary_plan (#36221)
ref pingcap/tidb#35889
2022-07-18 16:27:07 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
6e22e47f06 parser,ddl: support 'set tiflash mode' ddl and support check tiflash mode in tiflash_replica table (#35851)
ref pingcap/tidb#35850
2022-07-07 15:15:03 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
c578d19c9f parser, ddl: support decoding binary literal in set/enum (#35822)
close pingcap/tidb#31338
2022-06-30 15:36:39 +08:00
c6103886b1 *: enable all gosimples (#35762)
ref pingcap/tidb#35345
2022-06-29 11:54:39 +08:00
e752e1c020 parser: XXXDatabaseStmt now use CIStr for DB name (#35668)
close pingcap/tidb#35622
2022-06-24 19:04:37 +08:00
255dc8cae3 parser: support the ordered_hash_join hint (#35440)
ref pingcap/tidb#35439
2022-06-17 03:32:35 +08:00
5d4745e9d4 parser, executor: support show/set session_states (#35263)
close pingcap/tidb#35259
2022-06-10 15:24:31 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
79938e695c dml: support for show count(*) warnings | errors (#34721)
close pingcap/tidb#25068
2022-05-23 15:50:46 +08:00
01fb9355d6 executor: add ALTER TABLE COMPACT support (#34741)
ref pingcap/tidb#34749
2022-05-19 00:44:38 +08:00
d830900c98 session: use batch as the keyword for non-transactional DML (#34467)
ref pingcap/tidb#33485
2022-05-11 15:04:35 +08:00
49aafa5ed6 parser: support explain analyze format='...' (#34416)
ref pingcap/tidb#33945
2022-05-06 17:20:56 +08:00
fa5e19010b planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
2022-05-06 15:24:56 +08:00
3e13ef364b parser: support join order hint (#34337)
ref pingcap/tidb#29932
2022-05-05 19:22:55 +08:00
6d8669e987 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() (#33947)
close pingcap/tidb#14994
2022-04-29 23:12:53 +08:00
3cf6b08e6b parser: skip restoring schema name of CTE table columns (#33991)
close pingcap/tidb#33965
2022-04-18 22:48:03 +08:00
645ae1ce19 *: implement non-transactional delete (#33736)
ref pingcap/tidb#33485
2022-04-15 20:06:36 +08:00
59fac2abab planner: fix the join scope with explicit parents (#33311)
close pingcap/tidb#31770
2022-03-25 11:32:34 +08:00
9bc9572754 planner: add the functional dependency for Datasource, proj, select, agg (#33071)
ref pingcap/tidb#29766
2022-03-17 20:02:30 +08:00
46c43febca parser: add RemovePlacementRuleFlag (#33161)
close pingcap/tidb#33160
2022-03-17 01:27:53 +08:00
d79527b256 bindinfo: support 'show binding_cache status' (#32567)
ref pingcap/tidb#32466
2022-03-15 14:27:52 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00
4be9e30b0a bindinfo: rename Using status to Enabled status (#32801)
ref pingcap/tidb#32466
2022-03-07 17:21:49 +08:00
3ac831f64f parser: support 'set binding status for stmt' (#32661)
ref pingcap/tidb#32466
2022-03-02 14:27:45 +08:00
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
8c04d41c48 parser: support ALTER DATABASE t SET TIFLASH REPLICA in grammar (#32255)
ref pingcap/tidb#32254
2022-02-17 14:25:39 +08:00
c589ee5471 *: remove direct placement from models (#31816)
close pingcap/tidb#31427
2022-01-20 00:47:45 +08:00
a8fa29b56d parser: make text return utf8 encoding string (#31457)
close pingcap/tidb#31228
2022-01-12 19:47:42 +08:00
50dfe6b7bf ddl: Move placement to special comment for ddl sql in binlog (#31454)
close pingcap/tidb#31453
2022-01-11 14:09:41 +08:00
152a00dd79 parser: use utf-8 charset to decode enum binary string literal (#31336)
close pingcap/tidb#30740
2022-01-07 11:22:37 +08:00
17927d489a parser: decode the binary literal value in enum or set (#31231)
close pingcap/tidb#30740
2022-01-04 14:14:35 +08:00
7647c2b9b0 parser: parse gbk encoding SQL token by token instead of the whole SQL (#31039)
close pingcap/tidb#30765
2021-12-28 22:07:49 +08:00
dd95dd6e4c parser: support admin flush plan_cache (#30747) 2021-12-17 17:34:36 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
aa002f28a2 *: show cmd to check if all needed histograms are loaded (#29672) 2021-12-10 13:45:57 +08:00
23af09d8bf *: support trace plan target='estimation' statement (#30491) 2021-12-10 11:43:57 +08:00
3337405dd0 expression, parser: add built-in func is_uuid (#30318) 2021-12-07 02:47:55 +08:00
13d0deb7fe parser: respect TiDB comment when DROP INDEX IF EXISTS (#30173) 2021-11-30 19:35:53 +08:00
723242ad24 parser: support trace plan statement (#29720)
* support trace plan statement

Signed-off-by: yisaer <disxiaofei@163.com>

* fix conflict

Signed-off-by: yisaer <disxiaofei@163.com>

* fix fmt

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-22 13:09:45 +08:00
35f4816d5a planner: rename duplicated anonymous columns when creating view (#29895)
* planner: rename duplicated anonymous columns when creating view

* add some tests

* modify test

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-19 15:37:24 +08:00
4063e9c2e6 ddl: add support create or replace placement policy (#29865) 2021-11-18 14:17:47 +08:00