Commit Graph

4305 Commits

Author SHA1 Message Date
afa7dfb10f executor: also use approximate count from pd to decide the sample rate (#29230) 2021-11-01 11:08: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
267c960633 executor: migrate test-infra to testify for executor_pkg_test.go (#29045) 2021-10-31 12:50: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
c817f9e5f4 executor, privilege: fix privilege validation on information_shema.columns, explain and desc (#28985) 2021-10-30 04:08:50 +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
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
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
d6895952df planner: fix outerJoinEliminator couldn't be applied in some cases (#29061) 2021-10-29 12:24:49 +08:00
b1efb13296 *: implement analyze columns c1, ..., cn (#29024) 2021-10-29 11:28:49 +08:00
da39d755cb planner: forbid temporary table related plan cache when plan cache enable (#29210) 2021-10-28 21:14:49 +08:00
20023fe9ea planner: add more test cases for plan cache (#29175) 2021-10-28 19:04:50 +08:00
ce8e734ea2 variable: rename tmp_table_size to tidb_tmp_table_max_size (#29123) 2021-10-28 17:24:50 +08:00
b562dc90e7 executor: refactor plan replayer (#28956) 2021-10-28 15:42:49 +08:00
36bc41ad05 *: reduce object allocation by reuse chunk column (#29064) 2021-10-28 13:14:48 +08:00
2ba75e4af5 statistics: introduce bernoulli sampling method (#28999) 2021-10-28 12:52:49 +08:00
501781863a executor : migrate test-infra to testify for batch_point_get_test.go (#29117) 2021-10-28 11:50:48 +08:00
21a4a7e441 br: Add hdfs backend support (#28718) 2021-10-27 17:54:49 +08:00
#7
ad75d08f86 executor: query user and role, hostname should be lowercase (#28880) 2021-10-27 11:26:48 +08:00
077cb47351 executor/aggfuncs: migrate test-infra to testify for func_json_arrayagg_test.go, func_first_row_test.go, func_avg_test.go, and func_bitfuncs_test.go (#28979) 2021-10-27 09:48:48 +08:00
7b4ca57ac6 ddl : add admin check table / checksum table compatibility for cache table (#29096) 2021-10-26 20:26:48 +08:00
88f57113ce planner: add more test cases about plan-cache with varied operators (#29100) 2021-10-26 15:36:48 +08:00
xhe
af811b6e38 placement: refine placement options check (#29050) 2021-10-26 12:58:48 +08:00
82eda3a372 planner: add some test cases about pushed down operators with parameters when using plan-cache (#29065) 2021-10-26 11:38:48 +08:00
0ee0d6fd04 executor: migrate test-infra to testify for apply_cache_test.go (#29013) 2021-10-25 22:42:48 +08:00
f46359484c brie: Fix handling of scheme when SEM is enabled (#29037) 2021-10-25 21:24:49 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00
019ab3e751 planner: add more test cases for plan cache (#28840) 2021-10-25 17:23:41 +08:00
e08df49a0d collation: support gbk_chinese_ci collation and make it as default collation for gbk (#28645) 2021-10-25 11:34:48 +08:00
36e694bfc5 br: Add encrypt/decrypt feature for br (#28200) 2021-10-25 10:44:48 +08:00
42b0bec86d sessionctx/variable, executor: introduce a limit on "thread" config (#28842) 2021-10-22 11:42:46 +08:00
676683383b *: add support for removed sysvars (#28931) 2021-10-22 11:32:46 +08:00
98c7bbd368 *: support show column_stats_usage (#28428) 2021-10-21 18:34:46 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
6d24f8cf4b planner: add an extra safe-guard selection upon DataSource to prevent wrong results caused by wrong rebuilt range when using plan-cache (#28976) 2021-10-21 04:12:45 +08:00
cd431a8164 executor,binlog: fix binlog column mismatch for pessmistic transaction on partition table (#28669) 2021-10-20 18:34:42 +08:00
85437b3f61 *: sort-statement-order (#28968) 2021-10-20 14:12:42 +08:00
0e38904a33 server, privilege: Socket authentication (#27561) 2021-10-19 23:44:43 +08:00
466e826a7e executor: Use charset and collation from server vars for new schemas (#27216) 2021-10-19 22:22:42 +08:00
acb3a89634 expression, parser: fix the result of trim3Args (#28936) 2021-10-19 21:00:43 +08:00
d192d17ac6 planner: fix the issue that plan-cache may return wrong results when the IndexLookup depends on a generated column (#28938) 2021-10-19 20:40:43 +08:00
a171a9da94 executor/aggfuncs: refactor: migrate test-infra to testify for func_percentile_test.go, func_sum_test.go (#28891) 2021-10-19 12:40:42 +08:00
555907823d executor: support GRANT/REVOKE ON non-existent table (#28882) 2021-10-19 11:40:42 +08:00
502f34f975 *: fix Makefile for bench-daily (#28868) 2021-10-19 10:38:42 +08:00
84ec6634c4 executor: add placement policy name / direct placement to is.tables/partitions (#28798) 2021-10-19 00:32:42 +08:00