Commit Graph

445 Commits

Author SHA1 Message Date
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
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
645ae1ce19 *: implement non-transactional delete (#33736)
ref pingcap/tidb#33485
2022-04-15 20:06:36 +08:00
a936646c99 ddl: support specifying expr rand() as column default value (#32608)
close pingcap/tidb#10377
2022-04-07 16:16:32 +08:00
d79527b256 bindinfo: support 'show binding_cache status' (#32567)
ref pingcap/tidb#32466
2022-03-15 14:27:52 +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
8c04d41c48 parser: support ALTER DATABASE t SET TIFLASH REPLICA in grammar (#32255)
ref pingcap/tidb#32254
2022-02-17 14:25:39 +08:00
2a5e48011c parser: fix function as identifier in TiDB is not compatible with Mysql (#31803)
close pingcap/tidb#30556
2022-01-28 13:03:13 +08:00
7fd298d916 *: Remove direct placement in parser (#31768)
close pingcap/tidb#31485
2022-01-19 10:13:45 +08:00
a8fa29b56d parser: make text return utf8 encoding string (#31457)
close pingcap/tidb#31228
2022-01-12 19:47:42 +08:00
ba59021154 parser: fix the error message when no on commit delete rows specified (#30349)
close pingcap/tidb#29842
2022-01-05 10:46:36 +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
xhe
93d28b9d3f placement: give default 2 followers for non-sugar syntax (#31000) 2021-12-24 14:55:47 +08:00
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
dd95dd6e4c parser: support admin flush plan_cache (#30747) 2021-12-17 17:34: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
05f7c6dc5b parser, expression: follow mysql, increase interval precedence (#30528) 2021-12-09 14:43:58 +08:00
2242f9c8bc parser: support multi bracket for subquery (#29656) 2021-12-02 18:15:54 +08:00
9d531488b5 parse: support set local sysvar=xxx (#30005) 2021-11-23 11:53:51 +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
4063e9c2e6 ddl: add support create or replace placement policy (#29865) 2021-11-18 14:17:47 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
64f34345d9 parser: forbid invalid column name for analyze columns (#29567) 2021-11-12 02:57:06 +08:00
17edc5758f parser: add ANALYZE TABLE t ALL COLUMNS syntax (#29361) 2021-11-10 18:17:05 +08:00
dbea9892c4 *: Remove old syntax ALTER TABLE ... ADD/REMOVE/ALTER PLACEMENT POLICY ... (#29603) 2021-11-10 01:19:06 +08:00
49d995d577 *: Remove ALTER TABLE ... ALTER PARTITION ... (#29556) 2021-11-08 18:05:04 +08:00
a3f3924388 parser: support analyze/stats options when create/alter table (#29056) 2021-10-27 14:54:49 +08:00
b332a085a3 parser: add new analyze option SAMPLERATE (#28961) 2021-10-25 16:04:48 +08:00
549fac6b26 parser: support the 'alter table xx cache' and 'alter table xx nocache' (#28922) 2021-10-21 10:36:45 +08:00
acb3a89634 expression, parser: fix the result of trim3Args (#28936) 2021-10-19 21:00:43 +08:00
271df167fb *: Support Reset database placement options by ALTER (#28463) 2021-10-18 22:48:42 +08:00
fce1a03e40 parser: analyze predicate/user-specified columns and show column_stats_usage (#28846) 2021-10-18 16:52:43 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00
7700bd2fd5 parser: add "second syntax" for REVOKE (#28738) 2021-10-14 12:03:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
e85391f97a [parser] parser: support hexLit and binaryLit for load data lines (#1355) 2021-10-09 14:53:23 +08:00
db3b91a0b6 [parser] *: Support syntax of "CREATE/ALTER DATABASE [DEFAULT] PLACEMENT POLICY ..." (#1351) 2021-10-09 14:53:23 +08:00
bd299b990e [parser] charset: fix Encoding.Encode() and add some tests (#1344) 2021-10-09 14:53:23 +08:00
0b34158309 [parser] DDL: Add support for placement feature id(/*T![placement]... */). (#1334) 2021-10-09 14:53:23 +08:00
5e670662e4 [parser] *: support select for update of tables (#1333) 2021-10-09 14:53:23 +08:00
ba105bbd10 [parser] support parsing SQL with encodings other than utf8 (#1312) 2021-10-09 14:53:23 +08:00
8c9c20d3ff [parser] parser: support 'binary' symbol in set statements (#1335) 2021-10-09 14:53:23 +08:00
xhe
e0b131f433 [parser] move placement into not keywords (#1322) 2021-10-09 14:53:23 +08:00
1057322cf7 [parser] parser: support create and alter placement policy (#1313) 2021-10-09 14:53:23 +08:00
6c3894966a [parser] fix select field again (#1317) 2021-10-09 14:53:23 +08:00
c80d241e9b [parser] fix sel field (#1311) 2021-10-09 14:53:23 +08:00