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
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
ec7a638e33
executor: Fix authplugin handling with alter/create ( #28468 )
2021-11-02 01:10:51 +08:00
11b61738f3
parser: migrate test-infra to testify ( #29191 )
2021-10-28 12:30:49 +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
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
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
bd299b990e
[parser] charset: fix Encoding.Encode() and add some tests ( #1344 )
2021-10-09 14:53:23 +08:00
ba9eff4137
[parser] ast: fix a comment typo ( #1343 )
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
7af2a2410e
[parser] introduce a new Restore Flag RestoreBracketAroundBinaryOperation ( #1332 )
2021-10-09 14:53:23 +08:00
726409a242
[parser] Add 'auth_socket' ( #1323 )
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
0c458aca02
[parser] *: support new placement rules syntax ( #1299 )
2021-10-09 14:53:23 +08:00
75e85369d7
[parser] parser: fix some parse error for parenthese subqueries ( #1255 )
2021-10-09 14:53:23 +08:00
a4d223e7b7
[parser] parser: Support statement 'SHOW PLACEMENT LABELS' ( #1303 )
2021-10-09 14:53:23 +08:00
51f948424c
[parser] parser: support show create placement policy ( #1298 )
2021-10-09 14:53:23 +08:00
0036788fc0
[parser] add special comments support for index constraints ( #1296 )
2021-10-09 14:53:23 +08:00
55074f2a24
[parser] parser: support drop placement policy ( #1295 )
2021-10-09 14:53:23 +08:00
eb90a169f5
[parser] ast/functions: Add built-in function tidb_decode_sql_digests ( #1289 )
2021-10-09 14:53:23 +08:00
238f29681c
[parser] parser: support show placement ... syntax ( #1292 )
...
* parser: support `show placement ...` syntax
* Add parser.go
2021-10-09 14:53:23 +08:00
3ed80be1c4
[parser] restore: support restoring SQL wrapping with TiDB special comments ( #1287 )
2021-10-09 14:53:23 +08:00
386287d9b4
[parser] Support add/drop attributes for table or partition ( #1271 )
2021-10-09 14:53:23 +08:00
742f960ce7
[parser] parser: add plan recreator statement ( #1278 )
2021-10-09 14:53:23 +08:00
217cd12248
[parser] parser: support Oracle translate function ( #1283 )
2021-10-09 14:53:23 +08:00
276a575804
[parser] Restart statement support ( #1267 )
...
Co-authored-by: tangenta <tangenta@126.com >
2021-10-09 14:53:23 +08:00
eca248cb71
[parser] Correct typo: s/TslNone/TlsNone/ ( #1270 )
2021-10-09 14:53:23 +08:00
a8fd323ac6
[parser] parser: fix the compatiblity of explain_format ( #1262 )
2021-10-09 14:53:23 +08:00
c1acf6df1f
[parser] parser: ensure NOT NOT EXISTS is the same as EXISTS ( #1254 )
2021-10-09 14:53:23 +08:00
b7eaefe9db
[parser] parser: support alter table force auto_increment ( #1261 )
...
* parser: support alter table force auto_increment
* support alter force auto_random_base
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-10-09 14:53:23 +08:00
c0fd7427f1
[parser] Add 'HELP' statement support ( #1250 )
2021-10-09 14:53:23 +08:00
4415136781
[parser] auth: check for NUL in caching_sha2_password salt ( #1246 )
2021-10-09 14:53:23 +08:00
eedf0439ca
[parser] *: fix cte restore for binding ( #1244 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2021-10-09 14:53:23 +08:00
12d0a279c4
[parser] parser,ast: Support for authentication plugins ( #1236 )
2021-10-09 14:53:23 +08:00
732586d33f
[parser] *: clean up the deserted syntax of START TRANSACTION READ ONLY ( #1230 )
...
* Clean up the deserted syntax of START TRANSACTION READ ONLY
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2021-10-09 14:53:23 +08:00
e8aea0f97d
[parser] parser: add AsOfClause for START TRANSACTION READ ONLY statement ( #1215 )
...
* Add AsOfClause for START TRANSACTION READ ONLY statement
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2021-10-09 14:53:23 +08:00
2025bc4d3e
[parser] ast: make AsOf node be accepted ( #1226 )
...
* ast: make AsOf node be accepted
Signed-off-by: nolouch <nolouch@gmail.com >
2021-10-09 14:53:23 +08:00
0c43f7f38c
[parser] parser, ast: make parser happy for PARTITION BY [LINEAR] KEY ALGORITHM syntax ( #1221 )
...
* parser, ast: make parser happy for PARTITION BY [LINEAR] KEY ALGORITHM synta
* Update ast/ddl.go
Co-authored-by: kennytm <kennytm@gmail.com >
* remove useless import
Co-authored-by: kennytm <kennytm@gmail.com >
2021-10-09 14:53:23 +08:00