Commit Graph

1675 Commits

Author SHA1 Message Date
267a3b8162 executor: add auto id allocator execution runtime stats (#28013) 2021-10-08 17:35:24 +08:00
36d0b4067d expression: not push invalid cast to tiflash (#28458) 2021-10-08 15:33:23 +08:00
a18e05d2f7 expression: limit valid decimal length (#28466) 2021-10-08 14:49:23 +08:00
d6e19a6938 planner: disable tiflash plan caching (#28475) 2021-10-08 14:09:23 +08:00
a9a3b3c60a planner/core: migrate test-infra to testify for planner/core/plan_to_pb_test.go (#28452) 2021-10-08 10:01:23 +08:00
375e166d60 privilege: add Create Temporary Tables privilege on db level (#28547) 2021-10-06 23:16:50 +08:00
01908fcf94 planner/core: migrate test-infra to testify for cache_test.go (#28415) 2021-09-30 18:04:47 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
091ae3bde0 planner: generate addition selection when plan cache enable (#28457) 2021-09-29 16:38:47 +08:00
49b29ebb47 *: unhide stable system variables (#27957) 2021-09-29 12:14:46 +08:00
fd73942112 executor, planner, util: optimize query statements summary table by conditional pushdown (#27563) 2021-09-29 00:30:46 +08:00
a316189297 planner: add MergeAdjacentWindow rule for cascades (#24556) 2021-09-28 20:26:46 +08:00
87648de76e store: fix closest_replicas can't work during follower read (#28419) 2021-09-28 15:10:47 +08:00
cd012d101f planner: fix typo (#28380) 2021-09-27 11:54:46 +08:00
582a9f22ff core: Fix confusing behaviors of FROM_BASE64 function in WHERE clause (#28229) 2021-09-27 10:28:46 +08:00
db
816adb4618 planner: add extractor for tidb_hot_regions_history (#27374) 2021-09-26 16:22:47 +08:00
61ddc74133 *: Add SHOW PLACEMENT support for tables (#28266) 2021-09-26 14:56:46 +08:00
13be486682 planner: rename some variables for easy understanding (#28226) 2021-09-26 13:20:46 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
5404a917cf planner: fix a typo (#28195) 2021-09-23 16:06:45 +08:00
452d34c1ee planner/core: fix index out of bound bug when empty dual table is remove for mpp query (#28251) 2021-09-23 11:42:46 +08:00
b339ca29c8 expression: aggregate the collation only if the function is needed. (#27789) 2021-09-22 13:40:45 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
d1a3279b73 planner: fix can not found column bug (#28067) 2021-09-17 15:24:42 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
193b74ecbb executor: rename txnScope as readReplicaScope instead (#27987) 2021-09-14 12:54:40 +08:00
37a298b04e planner: count rune if charset is neither binary nor ascii (#27664) 2021-09-10 22:16:39 +08:00
39a1b43666 *: fix some problems related to notNullFlag (#27697) 2021-09-09 11:04:38 +08:00
2ae0bb73d7 *: Move some infoschema operations to temptable package (#27818) 2021-09-07 21:36:57 +08:00
9df022a9d1 planner: fix the wrong partition expression string restored by the parser (#27853) 2021-09-07 20:38:57 +08:00
ceaf670477 planner: fix the index-out-of-range panic when pruning list-partition with condition is null (#27730) 2021-09-07 17:38:57 +08:00
7abf5ae081 expression: fold const after rewrite between (#27834) 2021-09-06 19:48:57 +08:00
68e32bb44e planner: fix wrong plan caused by shallow copy schema columns (#27798) 2021-09-06 17:54:59 +08:00
d6ce2ae296 planner: update the error message when the partition-type is not supported (#27732) 2021-09-06 15:20:58 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +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
aebe657cd8 *: add charset information into field type (#27644) 2021-08-30 17:34:12 +08:00
f50dd1f24c expression: Push down group concat to TiFlash (#24778) 2021-08-30 15:44:12 +08:00
8dcebd1239 planner, expression: avoid exprs with side effects in column pruning and agg pushdown (#27370) 2021-08-27 16:46:05 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
26653ec3e1 planner: enhance the extract table from update/insert/delete stmt in binding sql check (#27519) 2021-08-26 13:00:04 +08:00
fbc5f94f8b privilege: add LOCK TABLES privilege on db level (#27489) 2021-08-26 10:08:04 +08:00
9e248d9420 planner: correctly set StatsVersion of tablePlan in copTask (#27161) 2021-08-25 18:06:04 +08:00
d5baa5dadf planner: fix expression rewrite makes between expr infers wrong collation. (#27254) 2021-08-24 18:24:04 +08:00
6849e5d56d planner/core: migrate leak tests to goleak (#27433) 2021-08-24 16:02:04 +08:00
79aab25fc2 expression: forbidden bind sql when subquery or union exists (#27347) 2021-08-21 12:12:02 +08:00
2a8612be59 *: SHOW CREATE VIEW/SEQUENCE should ignore local temporary table with the same name (#27344) 2021-08-20 20:24:02 +08:00
4fdb614a15 core_test: add cases that local temporary table works well for cte (#27174) 2021-08-20 17:16:02 +08:00
086a63f471 planner: fix tablesample 'order by' clause from partitioned table (#27383) 2021-08-20 11:54:01 +08:00