Commit Graph

2657 Commits

Author SHA1 Message Date
bd423ea76e planner: skip plan cache if plans have MemTableScan operator (#41830)
close pingcap/tidb#41829
2023-03-01 21:11:10 +08:00
24c24a8a53 planner: supply test for subquery in prepared plan cache (#41798)
ref pingcap/tidb#40219
2023-03-01 18:15:09 +08:00
4f0e6cadfa planner: resolve the compatibility problems for the join hint (#41804)
ref pingcap/tidb#36600
2023-03-01 17:47:09 +08:00
226952e085 planner: add more test cases for non-prep plan cache (#41809)
ref pingcap/tidb#36598
2023-03-01 17:07:10 +08:00
bdd8d6dc01 planner: fix the missing hint for the join node (#41679) 2023-02-28 20:38:21 +08:00
f0bd0da695 planner: remove the extra safe-guard Selection for plan-cache plan (#41723) 2023-02-28 17:25:12 +08:00
1d2040a2ab DDL: Partition table supports key partition type (#41365)
close pingcap/tidb#41364
2023-02-24 22:27:07 +08:00
11ae573c2e planner: check rebuilt ranges more strictly for plan cache (#41713)
ref pingcap/tidb#36598
2023-02-24 17:09:07 +08:00
f2163e7df1 Optimizer: Add partition by support for derived TopN(filter on row_nu… (#41469)
ref pingcap/tidb#39792
2023-02-23 17:23:06 +08:00
96580f0f46 planner: add more test cases for non-prep cache (#41669)
ref pingcap/tidb#36598
2023-02-23 16:23:08 +08:00
00bbd16697 planner: add diagnosis information for non-prep plan cache (#41660)
ref pingcap/tidb#36598
2023-02-22 17:09:07 +08:00
796d5b9bfa store/copr: set concurrency to partition number for limit statements (#41615)
ref pingcap/tidb#41480
2023-02-22 16:01:06 +08:00
12107e33d3 planner: refactor plan cache LRU code (#41618)
ref pingcap/tidb#40219
2023-02-22 13:27:06 +08:00
5b0315e956 planner: add more test cases for non-prep cache (#41645)
ref pingcap/tidb#36598
2023-02-22 12:47:06 +08:00
484aa036f9 domain: support extract plan task handle (#41600)
* Revert "parser: support plan change capture collect stmt (#41478)"

This reverts commit 301a024ebca317e54124eb71b0afbfb399149e79.

* support extract worker

support extract worker

support extract worker

fix lint

fix lint

add test

add test

* add test

add test

* add test

* add test

* address the comment
2023-02-22 11:59:49 +08:00
741ac51d0d planner: enable tiflash path for generated col in disaggregated tiflash mode (#41359)
close pingcap/tidb#41360
2023-02-22 10:57:06 +08:00
b0c98c1dc9 planner: add more test cases for non-prep cache (#41625)
ref pingcap/tidb#36598
2023-02-21 18:01:06 +08:00
b9fcb73a81 planner: skip plan cache if the query has filters like year <cmp> const (#41628)
close pingcap/tidb#41626
2023-02-21 17:25:06 +08:00
1ee5d2597d executor: LOAD DATA support sqldumpfile and parquet FORMAT (#41620)
ref pingcap/tidb#40499
2023-02-21 16:09:05 +08:00
5cbf6ebd0b executor: enhance global index (#41197)
close pingcap/tidb#40497
2023-02-21 13:51:05 +08:00
bc52ce0739 planner: add more test cases for non-prep plan cache (#41608)
ref pingcap/tidb#36598
2023-02-20 22:09:13 +08:00
fca20d64da planner: distinguish the source of join hint information (#41440)
ref pingcap/tidb#36600
2023-02-20 22:09:05 +08:00
23f6ac82f7 planner: plan cache support caching plan with subquery (#41080)
ref pingcap/tidb#40219
2023-02-20 21:25:04 +08:00
9e120b68ce executor: implement NULL DEFINED BY for LOAD DATA (#41541)
ref pingcap/tidb#40499
2023-02-20 20:43:05 +08:00
4ccce9c526 planner, expression: support multi-distinct agg under MPP mode (#39973) 2023-02-20 19:07:20 +08:00
df249e9f50 executor: make show stats_healthy case-insensitive (#41561)
close pingcap/tidb#41544
2023-02-20 15:47:12 +08:00
301a024ebc parser: support plan change capture collect stmt (#41478)
ref pingcap/tidb#41130
2023-02-20 10:31:05 +08:00
60dda6976e planner: support push part of limit prop to IndexMerge (#41054)
ref pingcap/tidb#41028
2023-02-20 02:39:04 +08:00
28d2ab6787 planner,variable: disable tidb_enable_reuse_chunk when reading json/text column (#41368)
close pingcap/tidb#41366
2023-02-17 15:04:02 +08:00
4b8bb61cab planner: fix missing operators in the encoded plan (#41461)
close pingcap/tidb#41458
2023-02-17 00:38:02 +08:00
cd516088c6 planner: Fix error message for column mismatch on INSERT..SET (#41508)
close pingcap/tidb#41468
2023-02-17 00:20:03 +08:00
d2d91b5d96 planner: add more checks when pushing TopN down (#41370)
close pingcap/tidb#41355
2023-02-16 01:38:01 +08:00
0e2ba9ecb1 *: improve planner/core to make test faster (#41416)
ref pingcap/tidb#41377
2023-02-16 00:34:02 +08:00
aa3b57cc47 expression: implement is_ipv4 and is_ipv6 function pushdown (#41173)
close pingcap/tidb#41172
2023-02-15 23:36:02 +08:00
74d550c685 planner: add more test cases for non-prepared plan cache (#41451)
ref pingcap/tidb#36598
2023-02-15 19:06:02 +08:00
eeedac03f2 *: improve bazel config (#41430) 2023-02-15 16:26:02 +08:00
96121e56f8 planner: add more test cases for non-prepared plan cache (#41398)
ref pingcap/tidb#36598
2023-02-14 22:36:01 +08:00
a78ff88c3d *: upgrade golangci-linter (#41317) 2023-02-14 20:54:01 +08:00
74875da532 planner: add missing CanExprsPushDown checks when generating IndexMerge path for or (#41361)
close pingcap/tidb#41273, close pingcap/tidb#41293
2023-02-14 16:48:01 +08:00
71ed2674c5 planner: small refactor about plan cache checker (#41357)
ref pingcap/tidb#36598
2023-02-14 13:02:01 +08:00
8cf2ca824b planner: stabilize tests in binary_plan_test.go (#41356)
close pingcap/tidb#40004, close pingcap/tidb#41297
2023-02-14 12:06:00 +08:00
ee8ad52afa planner: fix tiflash cannot find generated column (#41261)
close pingcap/tidb#40663
2023-02-13 17:28:03 +08:00
982a6163a1 sysvar: introduce variable tidb_enable_inl_join_inner_multi_pattern (#41319)
ref pingcap/tidb#40505
2023-02-13 14:04:08 +08:00
6f99ebae07 Optimizer: derive TopN from filter on row number (#41209)
ref pingcap/tidb#39792
2023-02-13 11:08:01 +08:00
288c2dd490 planner: fix a bug when pushing streamAgg down (#41056)
close pingcap/tidb#40857
2023-02-12 12:00:00 +08:00
696d7d06e9 *: REORGANIZE PARTITION (#38535) (#41096)
close pingcap/tidb#38535
2023-02-11 20:28:00 +08:00
48bc046fe1 executor: support plan replayer capture remove task (#41258)
close pingcap/tidb#41262
2023-02-11 12:04:02 +08:00
0db6df713b planner: recover table/schema only needs create and drop privilege (#41226)
close pingcap/tidb#40633
2023-02-10 22:38:00 +08:00
893cdb4495 planner: fix calculating TiFlash stream count (#41221)
ref pingcap/tidb#40123
2023-02-10 14:05:59 +08:00
90cf3718d8 planner: fix can't find proper physical plan caused by virtual column (#41132)
close pingcap/tidb#41014
2023-02-09 21:26:17 +08:00