Commit Graph

445 Commits

Author SHA1 Message Date
f379c8bb5a cmd, ddl: fix license header (#27707) 2021-09-02 15:30:15 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
46da3ba557 ddl: the truncate error message is not compatible with MySQL when modifying the column type (#27556) 2021-08-26 13:30:05 +08:00
9e248d9420 planner: correctly set StatsVersion of tablePlan in copTask (#27161) 2021-08-25 18:06:04 +08:00
90626b8a49 ddl, expression: fix some string functions' flen and refine error message for expression index (#27376)
* done

Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-08-20 21:13:58 +08:00
4e078d6315 util: use clone() to avoid reusing the same memory (#27372) 2021-08-19 18:18:02 +08:00
ed174286b8 expression: check type for virtual column use list (#27275) 2021-08-18 11:44:00 +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
5ae87cae85 types: fix fsp for datetime, time and timestamp (#27170) 2021-08-16 14:25:59 +08:00
4d5773c298 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26876) 2021-08-04 14:47:07 +08:00
dd5546dfd0 Revert "planner: fix the issue that UnionScan returns wrong results in dynamic mode" (#26853) 2021-08-03 19:21:06 +08:00
2745baad11 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26755) 2021-08-03 16:37:07 +08:00
0f32f3614d *: remove expression index out of experimental index (#26791) 2021-08-02 19:31:06 +08:00
cb65b7a2f7 statistics: improve out-of-range estimation strategy (#26502) 2021-08-02 17:43:08 +08:00
83181c6bcb planner: steady expression index selection when having duplicate expressions (#25826) 2021-08-02 14:47:06 +08:00
57c3e92ae8 Makefile: enable goimports linters (#26732) 2021-07-30 13:05:04 +08:00
583cdc8f13 executor: trim ( and ) for the outputs of expression (#26687) 2021-07-28 15:20:17 +08:00
57d704bffe planner: fix CTE bug when MergeJoin is used (#25514) 2021-07-27 18:20:16 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00
4a0ead8f03 planner: only build the same CTE once (#26454) 2021-07-27 10:04:16 +08:00
e7d73718aa *: remove sysvars from plugin API (#26449) 2021-07-26 11:28:15 +08:00
57576eb816 expression: fix output name for hidden column (#26354) 2021-07-20 14:55:34 +08:00
8e5dd485e7 planner: fix stat for CTE (#26279) 2021-07-19 19:09:34 +08:00
5ec3b34f2d go.mod: update client-go to the new version (#26256) 2021-07-15 15:19:32 +08:00
b6e8d6ccc3 cmd/ddltest: accelerate test speed (#26114) 2021-07-15 10:05:33 +08:00
b97d232e59 planner: refine collectGenerateColumn (#26057) 2021-07-08 17:53:29 +08:00
14adc46253 planner: support aggregation for expression index (#26014) 2021-07-07 17:35:30 +08:00
0a1875e883 parser,planner: fix the compatiblity of explain_format (#25978) 2021-07-07 15:47:29 +08:00
22628ab1f5 planner: support using expression index when conditions are connected by or or not (#25969) 2021-07-07 14:11:29 +08:00
6d032c58ac *: Test cleanup (#25581) 2021-06-23 01:31:22 +08:00
bca2f7250f logutil: InitLogger as a more abstract method, deprecated InitZapLogger (#25381) 2021-06-15 10:54:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
89394e4724 *: fix binding doesn't work for CTE (#25308) 2021-06-10 17:00:30 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +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
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
ad7102cdee planner: generate correct number of rows when all agg funcs are pruned (#24937) 2021-06-02 18:20:26 +08:00
b4f3ea6f6b cmd: add tests for CTE (#24907) 2021-06-02 15:07:37 +08:00
5d7c852770 planner: keep the original join schema in predicate pushdown (#24862) 2021-06-01 16:55:37 +08:00
a80047c604 CTE: support explain CTE plan (#24986) 2021-05-31 19:03:36 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
23ce65724a planner: rewrite LIKE as range for expression index (#24250) 2021-05-24 17:25:33 +08:00
163eb5f03c planner: Implement PointGet in TryFastPlan for range/list paritition table (#24588)
* implement PointGet in TryFastPlan for range/list partition
2021-05-22 01:23:53 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
392df99f04 cmd: ddl_test modify retryCnt from 5 to 20 (#24662) 2021-05-14 17:21:38 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
b0dfa746bf *: fix gosimple check (#24460) 2021-05-10 12:56:43 +08:00
fb676b7697 Revert "planner: donot prune all columns for Projection (#24024)" (#24180) 2021-04-25 11:47:55 +08:00
336f30575f planner: fix index merge row count estimation logic (#23137) 2021-04-16 19:21:51 +08:00