Commit Graph

757 Commits

Author SHA1 Message Date
feb34ecfee planner: fix that vector index output empty result when pk is non-int type (#57629)
close pingcap/tidb#57627
2024-11-27 01:38:29 +00:00
ec8b81b98e ddl: dynamically adjusting the max write speed of reorganization job (#57611)
ref pingcap/tidb#57526
2024-11-25 14:13:35 +00:00
bc03ed8e2b planner, runtime_filter: Remove redundant logs whose meaning can be directly displayed by default behavior (#57626)
close pingcap/tidb#57625
2024-11-22 08:03:35 +00:00
14ff938d8c planner/core: fix a wrong privilege check for CTE & UPDATE statement (#57430)
close pingcap/tidb#53490
2024-11-22 05:40:44 +00:00
9ae814bf04 *: update tipb and remove unused fields (#57424)
close pingcap/tidb#57338
2024-11-21 10:45:02 +00:00
5e6b8183c7 ddl: add COMMENTS column to DDL jobs and enhance job reorg meta handling (#57392)
ref pingcap/tidb#57229
2024-11-21 09:46:20 +00:00
xhe
1c059a1216 planner: set enumsetasint if original value is int in point get (#57550)
close pingcap/tidb#56832
2024-11-21 04:49:50 +00:00
865b28383c *: Truncate partition with global index improvement (#55831)
close pingcap/tidb#55819
2024-11-20 14:49:08 +00:00
38104f4f32 expression: fix tikv crash when bool like cast(bit as char) (#57484)
close pingcap/tidb#56494
2024-11-20 08:43:53 +00:00
ad5ca421eb planner: fix count(*) return wrong value for information_schema.tables (#57506)
close pingcap/tidb#56987
2024-11-20 07:50:51 +00:00
c5e9cc77e6 planner: Fix the issue where any(nil) is not considered equal to nil (#57428)
close pingcap/tidb#57326
2024-11-20 06:17:38 +00:00
d0150c0a68 planner: ONLY_FULL_GROUP_BY sql_mode was not working with VIEWs (#57473)
close pingcap/tidb#53175
2024-11-19 11:56:03 +00:00
35d5739657 expression: Fix optimizer panic in evaluate expr with null (#57403)
close pingcap/tidb#55886
2024-11-19 11:03:39 +00:00
153d5aaa38 planner: Do not allow variables in create view (#57474)
close pingcap/tidb#53176
2024-11-19 04:54:21 +00:00
66c7571cb9 planner: fix the duplicate offset when pushing topn down across outer join (#57471)
ref pingcap/tidb#56321
2024-11-19 04:54:14 +00:00
a22b8421a6 planner: print dynamic prune info in explain for connection (#57415)
close pingcap/tidb#55669
2024-11-18 05:33:11 +00:00
a9c5201884 planner: address collation ambiguity in scalar function construction during predicate simplification. (#57049)
close pingcap/tidb#56479
2024-11-18 04:46:11 +00:00
4a6bf46a5f *: fix the issue when union all cast('xxxx' as char) and a integer (#57416)
close pingcap/tidb#56640
2024-11-16 07:48:14 +00:00
89804dd420 planner: add hash64 equals for tableDual/topN/unionScan/Window. (#57412)
ref pingcap/tidb#51664
2024-11-15 17:13:33 +00:00
4fded5f438 planner: fix cannot binding for deleting multi table with alias (#57255)
close pingcap/tidb#56726
2024-11-15 09:45:38 +00:00
3c70a289b2 planner: fix RANGE COLUMNS partition prune gives wrong result with special collation (#57344)
close pingcap/tidb#57261
2024-11-15 04:58:30 +00:00
afacd100e8 ddl: support modify the related reorg config by SQL (#57336)
ref pingcap/tidb#57229
2024-11-15 04:58:23 +00:00
851af3587c planner: set the minimum Instance Plan Cache Mem Size to 100MiB (#57382)
ref pingcap/tidb#54057
2024-11-15 03:42:23 +00:00
ed2d749bc1 planner: Fix predicate simplification panic caused by zero-argument expressions like rand() (#56947)
close pingcap/tidb#56270
2024-11-14 10:50:38 +00:00
a3c07e0352 planner: add a new metrics to record the Instance Plan Cache clone duration (#57384)
ref pingcap/tidb#54057
2024-11-14 10:09:41 +00:00
2cfb3bebb7 planner: gen hash64 equals for logical projection/selection/show/sort. (#57381)
ref pingcap/tidb#51664
2024-11-14 09:20:20 +00:00
aeed37b606 planner: gen hash64-equals for memTable/UnionAll/PartitionUnionAll (#57350)
ref pingcap/tidb#51664
2024-11-14 08:12:56 +00:00
97e7b5c268 planner: reserve the OFFSET when outer join's inner side is unique (#56483)
close pingcap/tidb#56321
2024-11-13 16:07:56 +00:00
0dcd8e7bef planner: evict all cached plans after disabling instance plan cache (#57341)
ref pingcap/tidb#54057
2024-11-13 10:27:35 +00:00
2d9f82975b planner: let exists subquery return signed int type (#57277)
close pingcap/tidb#56641
2024-11-13 09:18:38 +00:00
8832684721 executor: support left outer semi join for hash join v2 (#57053)
ref pingcap/tidb#53127
2024-11-13 06:46:32 +00:00
4cca1ffbc5 planner: take logical schema producer into logical operator's hash generation (#57323)
ref pingcap/tidb#51664
2024-11-13 06:11:29 +00:00
2d70425ccc planner: fix wrong schema when to solve the schema name in CTE (#57253)
close pingcap/tidb#54582
2024-11-12 15:51:50 +00:00
5caa238b83 planner: use collected predicate columns to do stats sync load (#56813)
close pingcap/tidb#56812
2024-11-12 14:38:50 +00:00
3578b1da09 *: Use strict validation for stale read ts & flashback ts (#57050)
close pingcap/tidb#56809
2024-11-12 07:46:24 +00:00
304732848c planner: fix the problem of not finding the referenced column in the virtual column (#57084)
close pingcap/tidb#57079
2024-11-11 09:09:44 +00:00
d7fccb3123 planner: fix list partition with non point range locates to a wrong partition (#57072)
close pingcap/tidb#57062
2024-11-11 09:09:21 +00:00
b5cf2c3980 planner: add hash64 and equal for maxOneRow and fix some bugs. (#57259)
ref pingcap/tidb#51664
2024-11-11 08:03:57 +00:00
e16613d0bc planner: optimize the performance of PointPlan for Instance Plan Cache (#57260)
ref pingcap/tidb#54057
2024-11-11 06:34:29 +00:00
fe6c9b7d2a planner: move old cascades file into a limited pkg to avoid import core files. (#57246)
ref pingcap/tidb#51664
2024-11-11 06:34:19 +00:00
426ce3e570 planner: add generation of hash64 and equals for logical limit (#57238)
ref pingcap/tidb#51664
2024-11-09 05:21:12 +00:00
1770006c2e planner: refactor some code of Plan Cache (#57234)
ref pingcap/tidb#54057
2024-11-08 08:12:25 +00:00
tpp
cec48bb164 planner: Use realtimeRowCount when all topN collected (#56848)
close pingcap/tidb#47400
2024-11-07 16:05:49 +00:00
e76a21fa4d planner: shallow copy more field for Instance Plan Cache to improve performance (#57201)
ref pingcap/tidb#54057
2024-11-07 09:51:34 +00:00
a60fa88fdc planner: generate hash64 and equals for logical expand (#57177)
ref pingcap/tidb#51664
2024-11-06 11:29:32 +00:00
7ef4f0292c expression: label more expressions as thread-safe and add more test cases (#57171)
ref pingcap/tidb#54057
2024-11-06 11:29:22 +00:00
tpp
34ef14a1bb planner: fix cost adjustment for high risk tablescan (#57086)
close pingcap/tidb#57085
2024-11-06 04:42:25 +00:00
6004c3e109 planner: update the plan_clone_gen file (#57141)
ref pingcap/tidb#54057
2024-11-05 23:23:58 +00:00
c45d62f7d2 executor,planner: Fix tiflash plan with limit operator may lose execution summary problem (#57101)
close pingcap/tidb#50455
2024-11-05 09:37:24 +00:00
8a62d5a7bc exeuctor: add a helper variable to help ga hash join v2 step by step for all kinds of join types (#57116)
ref pingcap/tidb#53127
2024-11-05 08:19:19 +00:00