Commit Graph

1412 Commits

Author SHA1 Message Date
9e08fc559c planner: fix begin statement consumed read_ts wrongly (#25492) 2021-06-17 10:48:37 +08:00
314d396d65 planner: make sure limit outputs no more columns than its child (#25345) 2021-06-17 01:16:38 +08:00
0490590b01 planner,executor: fix 'select ...(join on partition table) for update' panic (#21148) 2021-06-16 23:00:37 +08:00
efc774aa5f planner: check filter condition in func convertToPartialTableScan (#25294) 2021-06-16 15:12:37 +08:00
cea06b3d49 planner: fix wrong aggregate pruning for some cases (#25289) 2021-06-16 14:12:37 +08:00
aa9e5c6ea6 planner: fix index join on unmatched collation suffix columns paniced (#24828) 2021-06-15 17:32:36 +08:00
b52a38981c *: change SHOW CONFIG to require CONFIG privilege (#25379) 2021-06-15 16:56:36 +08:00
xhe
07d0b2d845 planner: forbid prepared stale select in txn (#25375) 2021-06-15 14:30:37 +08:00
bd11917ca0 bindinfo,planner: report error when creating sql binding on temporary table (#25058) 2021-06-15 14:08:37 +08:00
b51a9ca71c *: fix sem dynamic privilege permission issues (#25316) 2021-06-15 12:28:37 +08:00
xhe
9189ec66ac *: stale reads compatible with prepare (#25156) 2021-06-11 19:32:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
5a1606740c ddl: add create table like check for temporary table (#25082) 2021-06-11 16:50:35 +08:00
b76d4675d5 planner/core: fix bug that injected proj get wrong index. (#25336) 2021-06-11 12:24:35 +08:00
1f0245a821 planner: Revert tidb_allow_mpp modification for downgrade compatibility and add warnings for enforce mpp. (#25302) 2021-06-11 10:28:35 +08:00
8bf35daf1a planner: disable mpp_outer_join_fixed_build_side by default (#25240) 2021-06-09 12:44:28 +08:00
cad482c036 planner/core: remove the union branch with dual table. (#25218) 2021-06-08 19:46:28 +08:00
a7f3c4d8bd planner/core: change agg cost factor (#25210) 2021-06-08 15:44:28 +08:00
9de1753866 *: fix permissions of brie RESTORE to be RESTORE_ADMIN (#25039) 2021-06-08 10:44:28 +08:00
811253785c planner, executor: add stale read compatibility for temporary table (#25206) 2021-06-07 21:06:28 +08:00
5005bc08cb ddl: tidb panic while query hash partition table with is null condition (#23849) 2021-06-07 20:28:29 +08:00
3947c5c6e0 typo: GetlogicalTS4TaskMap -> GetLogicalTS4TaskMap (#25135) 2021-06-07 15:22:28 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
f837bc770d planner: reset recorded cte plan in plan encoder (#25175) 2021-06-05 14:02:27 +08:00
be63681161 expression: processing empty string for enum index correctly (#25101) 2021-06-04 17:28:28 +08:00
64b469623c planner/core: support limit push down (#24757) 2021-06-04 16:56:28 +08:00
2e083b40e5 statistics: support indexes containing virtual column for full sampling (#24999) 2021-06-04 16:18:28 +08:00
693708d627 planner/core: remove unstable test (#25138)
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-06-04 15:36:38 +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
c59b3bcea6 planner: Mpp outer join build side (#25130) 2021-06-04 12:44:27 +08:00
6563219318 executor: fix ifnull bug when arg is enum/set (#25110) 2021-06-03 22:50:26 +08:00
d3de5479a0 planner: support push down broadcast cartesian join to TiFlash (#25049) 2021-06-03 17:38:27 +08:00
982dcece3b executor: fix incorrect result of enum type merge join (#24775) 2021-06-03 17:24:26 +08:00
49cd57174b session, planner: Add a factor getter for networkFactor/scanFactor/descScanFactor/seekFactor (#25046) 2021-06-03 16:50:27 +08:00
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00
30fcecad7f planner: add dml support in CTE (#25024) 2021-06-03 15:50:27 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
da8dbe6085 ddl: add foreign key compatibility for temporary table (#24961) 2021-06-02 19:34:25 +08:00
ad7102cdee planner: generate correct number of rows when all agg funcs are pruned (#24937) 2021-06-02 18:20:26 +08:00
b7e448aa10 ddl: add auto random && shard_row_id_bits compatibility for temporary table (#24940) 2021-06-02 15:56:26 +08:00
fb81a7dfd8 planner: warn for incremental analyze in version 3 stats (#24689) 2021-06-02 14:51:38 +08:00
52e89cb8bf planner/core: support union all for mpp. (#24287) 2021-06-02 14:15:38 +08:00
c8c0dd0bb9 executor: supports as of timestamp compatibility (#25019) 2021-06-02 11:29:38 +08:00
5d7c852770 planner: keep the original join schema in predicate pushdown (#24862) 2021-06-01 16:55:37 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
02b4f3bcc8 executor: add more cases about dynamic-mode with plan-cache and transaction (#24998) 2021-06-01 11:23:36 +08:00
a80047c604 CTE: support explain CTE plan (#24986) 2021-05-31 19:03:36 +08:00
11019d6f34 ddl: add admin_checksum_table compatibility for temporary table (#24867) 2021-05-31 15:47:36 +08:00
ac04473227 planner, executor: support batchget for range and list partition table (#24856) 2021-05-28 21:01:35 +08:00
963288a68c planner: build plan for CTE (#24792) 2021-05-28 16:47:35 +08:00