Commit Graph

2892 Commits

Author SHA1 Message Date
c8bc4050e0 planner: fix column pruner will clear handleCols and lead filling _tidb_rowid when datasource's schema length is 0 for a pkIsHandled table (#45217)
close pingcap/tidb#44579
2023-07-10 06:11:13 +00:00
dba03f8b41 casetest: split test for improving ci (#45246)
ref pingcap/tidb#44940
2023-07-10 02:53:11 +00:00
343de364f0 executor: set mpp_gather_id for all mpp task meta (#45226)
close pingcap/tidb#45225
2023-07-07 08:09:41 +00:00
d8b80a47a8 planner: physical expand support being converted to tipb.Expand2 (#44973)
close pingcap/tidb#45179
2023-07-05 10:05:14 +00:00
e76a3f363a planner: fix typo in comment (#45160) 2023-07-05 08:20:14 +00:00
7df405dcc3 *: introduce tiflash_replica_read to support different policies of TiFlash node selection (#44107)
close pingcap/tidb#44106
2023-07-04 09:26:13 +00:00
073a5f8b90 planner, expression: fix TableFullScan caused by extraHandleId not correctly found (#45139)
close pingcap/tidb#45036
2023-07-04 07:33:51 +00:00
c384c0a8da *: Move log category into a real field (#45058)
close pingcap/tidb#45057
2023-07-04 07:33:44 +00:00
6f7979436e planner: check whether values are const in constant propagation (#45119)
close pingcap/tidb#45086
2023-07-03 08:48:51 +00:00
8d6071a210 *: remove CorrelatedCol.HashCode to avoid potential bug (#45034)
close pingcap/tidb#45033
2023-06-30 16:23:12 +00:00
9885d1b201 planner: fix agg elimination logic after agg pushed down through a join (#44941)
close pingcap/tidb#44795
2023-06-30 11:21:41 +00:00
7838483dbc statistic: refactor stats cache (#45054)
ref pingcap/tidb#44861
2023-06-30 10:42:55 +00:00
e9eec6c0a9 planner: add model.ExtraPhysTblID into indexScan.Schema() (#44985)
close pingcap/tidb#44984
2023-06-30 10:42:44 +00:00
b9b7cadd2a planner: fix a typo error (#45081) 2023-06-30 08:54:42 +00:00
4fdae0b332 executor, distsql: enhance mpp cooridnator to handle execption and execution summaries better (#44697)
ref pingcap/tidb#44032
2023-06-30 06:54:41 +00:00
1213045d00 planner: a quick fix to solve the column alias in ORDER BY's subquery (#45003)
close pingcap/tidb#42732
2023-06-29 20:02:14 +00:00
d2a504e15a *: support MPPGather for UnionScan (#44915)
close pingcap/tidb#44705
2023-06-27 08:28:05 +00:00
440ece84c7 *: revise implementation of optimizer fix control (#44959)
close pingcap/tidb#43169
2023-06-27 07:37:06 +00:00
bc80cf9024 planner, sessionctx: reintroduce #41996 through optimizer fix control (#44865)
close pingcap/tidb#44855
2023-06-26 14:23:35 +00:00
09bbf08d72 planner: update the syntax of drop hypo index (#44944)
close pingcap/tidb#43817
2023-06-26 09:08:35 +00:00
d28fdc7a8d planner: Support cost formula calculation hook for optimize tracer and fix plan tree issues (#44727)
ref pingcap/tidb#44728
2023-06-25 11:14:34 +00:00
2a1645098c planner: enable revive for all planner (#44900)
close pingcap/tidb#44113
2023-06-25 08:41:33 +00:00
b3d4aff3dd planner: avoid have two ExtraPhysTblID row in same schema (#44605)
close pingcap/tidb#44615
2023-06-25 04:47:43 +00:00
b8e282b1fd planner: plan cache supports Batch/PointGet converted from (primary keys) in ((...), ...) (#44838)
close pingcap/tidb#44830
2023-06-25 03:28:14 +00:00
fd2cd685bb planner: ignore index_merge when partial path has global index (#44820)
ref pingcap/tidb#43013
2023-06-23 15:34:13 +00:00
c16b3f65b3 planner: plan cache supports queries with more than 200 parameters (#44829)
close pingcap/tidb#44823
2023-06-21 03:14:41 +00:00
cea26f8ac1 *: fix cte nil pointer error when got multiple apply (#44782)
close pingcap/tidb#44774
2023-06-20 13:50:41 +00:00
ce99d5d25d planner: complete fall through into MPP task if up-layer can generate a cop tiflash (#44324)
close pingcap/tidb#37459
2023-06-20 12:46:11 +00:00
397062f2e7 planner, sessionctx: skip wide type columns such as JSON when collecting statistics (#44653)
close pingcap/tidb#44725
2023-06-19 15:22:10 +00:00
6e3d0eb306 planner: enhance projection explain-info when simple column projected again with a new unique-id (#44520)
close pingcap/tidb#44521
2023-06-19 12:08:41 +00:00
b5dbe69522 executor: support remain time for show analyze (#44791)
ref pingcap/tidb#44033
2023-06-19 09:55:11 +00:00
7f7d218715 executor: remove remain time for show analyze (#44717)
ref pingcap/tidb#44033
2023-06-16 05:43:09 +00:00
8633c8ce99 planner: support query block alias for leading hint (#44700)
close pingcap/tidb#44645
2023-06-15 12:17:11 +00:00
3ca5d3d618 planner,txn: fix the bug that RESOURCE_GROUP() hint can not take effect for write … (#44513)
close pingcap/tidb#44512
2023-06-15 09:31:10 +00:00
20dfa24658 linter: enable revive for part planner/core (#44681)
ref pingcap/tidb#40786
2023-06-15 07:01:09 +00:00
626e3a5522 linter: enable revive for part planner/core (#44662)
ref pingcap/tidb#40786
2023-06-14 05:05:15 +00:00
0f7cae3afd planner: support limit_to_cop for quick binding (#44611)
ref pingcap/tidb#39199
2023-06-13 14:27:07 +00:00
282c753cfb statistics, planner: use the correct IndexInfo in GenerateHistCollFromColumnInfo() (#44441)
close pingcap/tidb#44369
2023-06-13 11:11:07 +00:00
ce174c65f2 Import into: add job management statement (#44453)
ref pingcap/tidb#42930
2023-06-12 13:47:07 +00:00
5b54baaf8f sessionctx: make session_vars' type closer to MySQL (#44578)
close pingcap/tidb#44574
2023-06-12 10:29:13 +00:00
xhe
7eebafe913 *: simplify insert into set (#44465)
close pingcap/tidb#44464
2023-06-12 10:29:06 +00:00
465bd60df0 planner: support grouping function/col/expression rewriting and physical plan exhaustion for rollup expand OP (#44488)
close pingcap/tidb#44487
2023-06-12 08:51:10 +00:00
f644a91bad planner: support hypo tiflash replicas (#44575)
ref pingcap/tidb#43817
2023-06-12 07:05:06 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
f320bbe469 linter: enable QF1012 (#44554)
ref pingcap/tidb#40786
2023-06-09 21:56:46 +00:00
8b67cea5e1 *: support check constraint in tidb (#44104)
ref pingcap/tidb#41711
2023-06-07 08:51:42 +00:00
1c223c75c8 expression: Switch on the pushdown for first_value() and last_value (#44157)
close pingcap/tidb#44156
2023-06-07 07:03:41 +00:00
604033c887 planner, runtimefilter: resolve column index for table scan (#44458)
close pingcap/tidb#44450
2023-06-07 03:27:41 +00:00
0a6f963765 *: remove useless (#44454) 2023-06-06 14:21:41 +00:00
fe40acd803 *: let handleMap supports partitionHandle (#44360)
close pingcap/tidb#44312
2023-06-06 11:27:52 +00:00