Commit Graph

99 Commits

Author SHA1 Message Date
0f838d9a67 planner, executor: split the range for unsigned pk of partition table when limit is used (#40313)
close pingcap/tidb#40309
2023-01-09 18:36:22 +08:00
6ae151a9bc planner: open the partial order prop push down for LIST PARTITION (#40290)
close pingcap/tidb#40273
2023-01-04 17:24:20 +08:00
4a72171ffb *: Fix issue 39999, used wrong column id list for checking partitions (#40003)
close pingcap/tidb#39999
2022-12-20 16:44:54 +08:00
9a7341eb43 executor: add tests for property pushed down for partition table (#39530)
ref pingcap/tidb#26166
2022-12-02 01:54:02 +08:00
4476173923 planner: update cost model2 (#39438)
ref pingcap/tidb#35240
2022-11-30 00:29:59 +08:00
f9a6e47192 planner: support push part of order property down to the partition table (#36108)
ref pingcap/tidb#26166
2022-11-29 13:51:59 +08:00
678aa56ece planner: update some UTs from cost model1 to model2 (#39124)
ref pingcap/tidb#35240
2022-11-14 14:31:54 +08:00
3bbffdf7ac planner: update some UTs from cost model1 to model2 (#39065)
ref pingcap/tidb#35240
2022-11-11 13:51:53 +08:00
5fa9da1bf7 planner: make the meaning of displayed estimated row count consistent with actual row count (#38188)
close pingcap/tidb#38187
2022-10-17 18:45:53 +08:00
9657c9ed0d executor: make unit test TestIssue21732 stable (#38278)
close pingcap/tidb#38263
2022-10-01 02:47:45 +08:00
20e749ecbe planner, executor: fix query partition table with global unique index get wrong result (#22478)
close pingcap/tidb#21732
2022-09-28 23:29:44 +08:00
c646842f29 sessionctx: Change default tidb_partition_prune_mode from static to dynamic (#37712)
close pingcap/tidb#37713
2022-09-14 20:00:59 +08:00
827fe400bc ddl,executor: fix two unstable partitino table unit test cases (#37721)
ref pingcap/tidb#37717, close pingcap/tidb#37719
2022-09-09 00:32:55 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
28c934cdae planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
6cefaa970c planner: add batch_point_get access object (#35230)
close pingcap/tidb#32815
2022-06-21 17:00:37 +08:00
2ba2a9ef56 planner: Manual revert of #24282 (#35298)
ref pingcap/tidb#22079, closes pingcap/tidb#33966, close pingcap/tidb#35181
2022-06-14 23:48:33 +08:00
dae0a4104a sessionctx: enable list partition by default (#34954)
close pingcap/tidb#34953
2022-05-27 12:22:47 +08:00
a523089d4a planner: consider seek cost of probe-side for index join (#33867)
close pingcap/tidb#32362
2022-04-18 19:06:03 +08:00
3892bd8714 executor: stabalize partition tests (#33060)
close pingcap/tidb#33059
2022-03-19 01:52:31 +08:00
ffaeb3e80d ddl: improve test to avoid cycle import (#32058)
ref pingcap/tidb#31716
2022-03-14 12:11:51 +08:00
6dbf2de2f0 explain: use partition name in original case (#32817)
close pingcap/tidb#32719
2022-03-07 14:33:48 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
d1bf078a58 executor: migrate test-infra to testify for infoschema_reader_test.go (#32688)
close pingcap/tidb#28587
2022-03-01 16:31:45 +08:00
3e1cd2733a ddl: migrate test-infra to testify for rollingback_test.go (#32647)
close pingcap/tidb#29110
2022-02-26 16:11:43 +08:00
2d93944210 executor: migrate test-infra to testify for partition_table_test.go (#30665)
close pingcap/tidb#28600
2022-02-14 19:39:38 +08:00
23f7e51ae0 *: Use the new CI script as default (#31752)
close pingcap/tidb#31893
2022-01-27 21:25:13 +08:00
ec3ae9fc42 *: refine some tests related to the collation (#32000)
ref pingcap/tidb#31625
2022-01-27 11:51:13 +08:00
7647c2b9b0 parser: parse gbk encoding SQL token by token instead of the whole SQL (#31039)
close pingcap/tidb#30765
2021-12-28 22:07:49 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
66dfc703b5 executor: TestBatchGetandPointGetwithHashPartition test typo (#29669) (#29671) 2021-12-08 15:51:56 +08:00
ffd59ec088 planner: show accessed partition when explain mpp query over partition table (#30367) 2021-12-07 13:53:56 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
cdc03978c1 executor: fix table id to partition id mapping in select lock executor (#26380) 2021-07-21 17:23:35 +08:00
eeb534147e planner,executor: fix batch point get for update read panic on partition table (#25652) 2021-06-22 14:59:04 +08:00
9acd2ec455 planner: fix the risk of integer overflow when locating partitions (#25599) 2021-06-22 11:20:54 +08:00
5645edeec6 planner,executor: fix point get for update read panic on partition table (#25537) 2021-06-18 12:22:38 +08:00
2653b128ed planner: forbid BatchPointGet on tables partitioned by compound expressions (#25538) 2021-06-18 11:02:38 +08:00
0490590b01 planner,executor: fix 'select ...(join on partition table) for update' panic (#21148) 2021-06-16 23:00:37 +08:00
ed52601e6e executor: check ErrRowDoesNotMatchGivenPartitionSet when inserting rows into a partition table (#25484) 2021-06-16 20:58:37 +08:00
fc48db9743 executor: check the length of lookUpContent in prunePartitionForInnerExecutor (#25426) 2021-06-15 18:16:36 +08:00
7e9c912b1c executor: temporarily skip some unstable test cases (#25335) 2021-06-10 18:12:29 +08:00
f81ef55795 planner: solve an incompatible issue about dynamic-mode and TiFlash and enable dynamic mode by default (#25255) 2021-06-08 20:08:28 +08:00
b07942836f planner: fix a panic caused by sinking a Limit with inlined Proj into IndexLookUp when accessing a partition table (#25063) 2021-06-04 13:54:27 +08:00
f966a3d9fb executor: fix the wrong KVRange for partition tables in TableReader (#25047) 2021-06-02 17:30:43 +08:00
02b4f3bcc8 executor: add more cases about dynamic-mode with plan-cache and transaction (#24998) 2021-06-01 11:23:36 +08:00
ac04473227 planner, executor: support batchget for range and list partition table (#24856) 2021-05-28 21:01:35 +08:00