Commit Graph

15760 Commits

Author SHA1 Message Date
8d9647dee5 privileges: fix create temporary tables privilege (#29279) 2021-11-01 16:46:51 +08:00
db60f12253 config, planner: Change prepared-plan-cache.capacity default size from 100 to 1000 (#28984) 2021-11-01 16:14:51 +08:00
db9592d504 infoschema : solve prepared statements can't see temporary tables when the SQL involves multiple tables (#29289) 2021-11-01 16:02:52 +08:00
8625143cfc infoschema: get PD version from status (#29265) 2021-11-01 15:02:50 +08:00
4879be763b infoschema: fix inserting into a temporary table panics after the database is dropped (#29263) 2021-11-01 14:40:51 +08:00
80e14b4bff ddl: rename region label to attributes (#29174) 2021-11-01 12:14:50 +08:00
da6252e9a5 planner: fix the issue that some IndexJoin cannot use plan-cache (#29238) 2021-11-01 12:00:28 +08:00
336f5a2863 *: bootstrap config required admin review (#29048) 2021-11-01 11:50:51 +08:00
33378f926c planner: fix some index merge plans can not be cached when plan cache enable (#29241) 2021-11-01 11:36:16 +08:00
2c69740fde *: support plan replayer load (#29247) 2021-11-01 11:22:51 +08:00
afa7dfb10f executor: also use approximate count from pd to decide the sample rate (#29230) 2021-11-01 11:08:51 +08:00
a18977a93b expression: fix a bug caused by cast function signature wrong in aggregation push down (#28805) 2021-11-01 10:46:51 +08:00
42067720e9 ddl: Ensure feature flag support for placement rules [2] (#29258) 2021-11-01 10:34:51 +08:00
a9c249feb1 executor: grant to non-existent table with at least create privilege (#29273) 2021-11-01 09:22:50 +08:00
5e7a871c3d planner: refine warnings about can't push down to TiFlash. (#29285) 2021-11-01 00:02:50 +08:00
f271148d79 types: Fix comment typo (#29272) 2021-10-31 19:44:50 +08:00
267c960633 executor: migrate test-infra to testify for executor_pkg_test.go (#29045) 2021-10-31 12:50:50 +08:00
0caac786a7 expression: support hour/minute/second/microSecond pushdown to tiflash. (#29269) 2021-10-31 09:14:50 +08:00
4bd41e9109 expression: push down CastTimeAsReal to TiFlash (#29274) 2021-10-31 09:02:50 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
xhe
476b8957c2 executor: add show placement scheduling_state (#29251) 2021-10-30 16:28:50 +08:00
102080847c conifg, sessionctx: set default value "/data/deploy/plugin" for plugin_dir (#29254) 2021-10-30 11:14:50 +08:00
c817f9e5f4 executor, privilege: fix privilege validation on information_shema.columns, explain and desc (#28985) 2021-10-30 04:08:50 +08:00
0ee40992c7 expression: support pushdown duration to tiflash (#28914) 2021-10-30 00:54:51 +08:00
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
83e559db0a planner: allow refineArgs for plan cache in some situations (#28944) 2021-10-29 18:09:49 +08:00
d872b21800 br: cancel in progress actions (#28912) 2021-10-29 17:34:50 +08:00
ac2c6f8d87 ddl : ddl forbid stale read for cache table and support history read (#29173) 2021-10-29 17:08:49 +08:00
0e16830288 server: add plan replayer dump http api (#29214) 2021-10-29 16:40:51 +08:00
a3dc997216 BR: use sperated thread for loading stat (#29180) 2021-10-29 14:54:49 +08:00
d69b58f812 executor: migrate test-infra to testify for hash_table_test.go and grant_test.go (#29208) 2021-10-29 14:36:49 +08:00
168bc5e240 planner: Forcing aligning the null flag for the projection under union (#28990) 2021-10-29 14:06:49 +08:00
c0024d7490 statistics: add GC for mysql.column_stats_usage (#29183) 2021-10-29 13:24:49 +08:00
6a62f9d18c br/lightning: fix test lightning_duplicate_detection (#29225) 2021-10-29 13:04:49 +08:00
d6895952df planner: fix outerJoinEliminator couldn't be applied in some cases (#29061) 2021-10-29 12:24:49 +08:00
6297c589e0 expression : support sysdate pushed down to tiflash (#29063) 2021-10-29 12:06:50 +08:00
b1efb13296 *: implement analyze columns c1, ..., cn (#29024) 2021-10-29 11:28:49 +08:00
9683b20113 expression: migrate test-infra to testify for expression/util_test.go (#29209) 2021-10-29 11:12:49 +08:00
da39d755cb planner: forbid temporary table related plan cache when plan cache enable (#29210) 2021-10-28 21:14:49 +08:00
128b61c7cd expression: migrate test-infra to testify for expression/column_test.… (#29198) 2021-10-28 20:46:49 +08:00
86b37d45d1 statistics: fix incomplete auto analyze log information (#29189) 2021-10-28 19:54:49 +08:00
a16737e2ba expression: migrate test-infra to testify for expression/scalar_function_test.go (#29176) 2021-10-28 19:34:48 +08:00
20023fe9ea planner: add more test cases for plan cache (#29175) 2021-10-28 19:04:50 +08:00
d3471beca0 planner: clone possible properties before saving them is unnecessary (#28744) 2021-10-28 18:22:50 +08:00
18b47bcb2e sessionctx: defer all unlock ops of sc.mu (#29194) 2021-10-28 17:52:50 +08:00
ce8e734ea2 variable: rename tmp_table_size to tidb_tmp_table_max_size (#29123) 2021-10-28 17:24:50 +08:00
97776fdb1a br: retry for push down to tikv if error is retryable (#28811) 2021-10-28 16:38:51 +08:00
65904d84ce expression: enable pushing down ltrim/rtrim to TiFlash (#29162) 2021-10-28 16:00:49 +08:00
b562dc90e7 executor: refactor plan replayer (#28956) 2021-10-28 15:42:49 +08:00
4b4984e6cc planner: remove duplicate predicates in the Selection operator (#28317) 2021-10-28 15:18:49 +08:00