Commit Graph

390 Commits

Author SHA1 Message Date
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
93454da4c4 *: add show push down for ShowTables (#31919)
close pingcap/tidb#30803
2022-01-26 20:30:45 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
ad1c5b5081 *: add pushdown for ShowStmt and implement for show columns (#31742)
close pingcap/tidb#29910
2022-01-20 20:41:45 +08:00
dc969f0eb8 executor: Add replace support for LOAD DATA (#31303)
ref pingcap/tidb#24515
2022-01-18 12:31:44 +08:00
50704075af *: insert set default timestamp failed (#29966)
close pingcap/tidb#29926
2022-01-18 03:43:44 +08:00
a8fa29b56d parser: make text return utf8 encoding string (#31457)
close pingcap/tidb#31228
2022-01-12 19:47:42 +08:00
8dfad92a00 planner: fix tikv table path wrongly pruned when forcing primary index and tiflash replica exists (#31509)
close pingcap/tidb#31202
2022-01-10 19:23:41 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
8085c99ddf *: implement analyze predicate columns (#30816)
close pingcap/tidb#31102
2021-12-30 15:45:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
3ea7a1d789 planner: throw error when insert values is correlated subquery (#31049)
ref pingcap/tidb#30626
2021-12-28 15:43:49 +08:00
abb6582910 planner: support 'admin flush plan cache' (#30370) 2021-12-27 14:57:49 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +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
fe5733ce41 planner: support dump file for trace plan statement (#30059) 2021-11-25 16:19:50 +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
00ece357e5 planner: make the error of access path miss more user friendly (#28879) 2021-11-17 11:53:46 +08:00
64f34345d9 parser: forbid invalid column name for analyze columns (#29567) 2021-11-12 02:57:06 +08:00
1eec13120d planner: lazy the subquery-more-than-1-row error after the insert duplicate is actually triggered (#29270) 2021-11-12 01:43:05 +08:00
8d9647dee5 privileges: fix create temporary tables privilege (#29279) 2021-11-01 16:46:51 +08:00
2c69740fde *: support plan replayer load (#29247) 2021-11-01 11:22:51 +08:00
xhe
476b8957c2 executor: add show placement scheduling_state (#29251) 2021-10-30 16:28:50 +08:00
b1efb13296 *: implement analyze columns c1, ..., cn (#29024) 2021-10-29 11:28:49 +08:00
b562dc90e7 executor: refactor plan replayer (#28956) 2021-10-28 15:42:49 +08:00
2ba75e4af5 statistics: introduce bernoulli sampling method (#28999) 2021-10-28 12:52:49 +08:00
f46359484c brie: Fix handling of scheme when SEM is enabled (#29037) 2021-10-25 21:24:49 +08:00
b332a085a3 parser: add new analyze option SAMPLERATE (#28961) 2021-10-25 16:04:48 +08:00
98c7bbd368 *: support show column_stats_usage (#28428) 2021-10-21 18:34:46 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00
74d5fa5a3e planner: remove surplus FindColumnInfoByID (#28828) 2021-10-15 14:03:26 +08:00
a0e835cb35 *: Add SHOW PLACEMENT support for partitions (#28830) 2021-10-15 12:43:26 +08:00
fac98dc866 privileges: fix show create view doesn't need show view privilege (#28662) 2021-10-14 23:49:26 +08:00
e30392c40c executor, planner: add SHOW CREATE PLACEMENT POLICY (#28797) 2021-10-14 16:27:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
61ddc74133 *: Add SHOW PLACEMENT support for tables (#28266) 2021-09-26 14:56:46 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
2ae0bb73d7 *: Move some infoschema operations to temptable package (#27818) 2021-09-07 21:36:57 +08:00
376e85b2ef *: Support SHOW PLACEMENT for placement policies (#27531) 2021-08-31 17:38:13 +08:00
8fd619359e *: Support PLACEMENT_ADMIN dynamic priv (#27600) 2021-08-31 17:08:13 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
533ec70f3a executor: Add support for SHOW PLACEMENT LABELS statement (#27077) 2021-08-11 13:39:15 +08:00
bfbe67db6d planner: ban baseline evolution feature (#26333) 2021-08-05 09:45:07 +08:00
03e25c3087 *: Add plan recreator executor framework (#26700) 2021-08-05 02:19:06 +08:00
0ed15511f8 planner: complete delete support for local temporary table (#26392) 2021-07-30 15:41:05 +08:00
ab4a990539 brie: add error info column and history backup/restore info in sql (#22699) 2021-07-30 12:17:05 +08:00
4a0ead8f03 planner: only build the same CTE once (#26454) 2021-07-27 10:04:16 +08:00
06a0ad373c executor: avoid unnecessary string EqualFold() comparisons (#25822) 2021-07-23 14:46:15 +08:00
0c7f9ac3db planner/core: fix a panic when select for update on join partition table with normal table (#26373) 2021-07-20 17:31:34 +08:00