Commit Graph

94 Commits

Author SHA1 Message Date
2009741d57 planner: increase default concurrency factor of cost computing (#11752) 2019-08-16 17:37:16 +08:00
79d43a56ed planner: fix uncorrect behavior of index join (#11724) 2019-08-16 15:04:46 +08:00
103cbcd5c5 planner: rewrite in as eq when the rhs list has only one item 2019-08-16 11:07:59 +08:00
fe038642e5 *: refactor cost model formulas and constants (#10581) 2019-08-07 17:44:09 +08:00
f13f7bbdbd ranger: BuildColumnRange should merge ranges when column has prefix len (#11563) 2019-08-01 16:24:36 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
b97c0434db executor: show CARTESIAN Join explicitly in the results of Explain (#11415) 2019-07-24 16:57:51 +08:00
bdec3414e7 executor: fix the behavior when index join meet prefix index (#11081) 2019-07-12 17:48:35 +08:00
f2841dec95 ranger: some sort operation can be removed (#10952) 2019-07-03 19:50:21 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
86dd989815 planner: refine range builder when meet unsigned_int_col <cmp> -int_cnst (#10471) 2019-05-31 14:01:25 +08:00
ba7134d4e9 executor: correct range calculation for CHAR column (#10124) 2019-05-14 16:15:31 +08:00
efe9b6ab2a planner/core: fix privilege check for update (#10281) 2019-04-30 13:06:54 +08:00
9d74d6404f planner, executor: index join enhancement (#8471) 2019-04-29 11:07:15 +08:00
b5890b3cf4 ranger: choose more prefix columns when building ranges (#10053) 2019-04-24 17:09:46 +08:00
f9c82b531c plan: improve row count estimation using column order correlation (#9839) 2019-04-24 16:19:21 +08:00
2e14068ee1 *: improve NULL count estimation for single column index (#9474) 2019-03-30 19:22:30 +08:00
b37d952778 planner: tiny refactor for building table scan (#9694) 2019-03-13 16:42:50 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
bc0e70dc5c planner/core: implement skyline pruning (#9337) 2019-02-19 11:19:30 +08:00
9bdba3a5d1 plan: handle DNF expressions in Selectivity (#9282) 2019-02-13 10:53:12 +08:00
H
6a06977dd1 plan: rewrite exact like expression to equal condition (#9071) 2019-01-28 19:12:30 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
82d2726300 planner, statistics: build new histogram using range information (#7921) 2019-01-14 20:33:36 +08:00
9b0eb88b20 util/ranger: fix incorrect behavior about index who has prefix column(#8851) (#8878) 2018-12-29 19:48:15 +08:00
bd69b15e79 *: add the error check (#8770) 2018-12-24 22:22:00 +08:00
7af338c338 ranger: some code clean up (#8663) 2018-12-13 14:01:43 +08:00
f7d8ca624a plan: use Column.UniqueID in conditionChecker of ranger (#8236) 2018-11-12 12:45:25 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
d7d13091da ranger: merge multiple EQ or In expressions if possible (#7577)
Convert empty range scan to TableDual after expression merge.
2018-09-10 17:46:37 +08:00
69d5e36ac4 *: bump go version to 1.11 (#7491) 2018-08-29 21:48:50 +08:00
42bba991b9 ranger: fix prefix index when charset is UTF-8 (#7194) 2018-07-31 16:14:05 +08:00
f107feed63 fix a bug that nullable unique index can not find null values using index. (#7163) 2018-07-27 15:04:21 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
1bf3f3d407 ranger: refine explain format, again (#7041) 2018-07-17 16:47:44 +08:00
c5524cb238 plan, executor: use CorrelatedColumn to calculate range. (#6779) 2018-06-28 16:23:05 +08:00
d2799801ae test: fix leak test (#6822)
make sure close dom/store in all test.
2018-06-12 17:14:22 +08:00
b5fa023caa util: Fix range construction for in predicate (#6667) 2018-05-30 13:36:13 +08:00
6248a74d6f plan: refactor errors (#6377) 2018-05-09 13:07:21 +08:00
12dbd32854 *: rename NewRange to Range. (#6368) 2018-04-25 13:13:04 +08:00
05bbffec0f *: remove IntColumnRange. (#6366) 2018-04-24 19:37:26 +08:00
f994f4f987 *: clean up MvccStore in mocktikv (#6256)
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00
4f991afb10 *: session context passed to newBaseBuiltinFuncWithTp should not be nil (#6178) 2018-03-29 16:12:36 +08:00
63a816cc44 util/ranger: Improve the aesthetics of code review (#6144) 2018-03-25 23:55:06 -05:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
9f40ef7c9b ranger: remove invalid interval when building range. (#5939) 2018-03-03 09:14:11 +08:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00