Commit Graph

67 Commits

Author SHA1 Message Date
be2c276fe4 executor, plan: remove Exists (#7207) 2018-08-09 22:45:24 +08:00
44e6c3c2e1 plan, stats: fix inconsistent row count estimation (#7233) 2018-08-06 17:39:33 +08:00
25f1e808f5 Use the revive linter. (#7197) 2018-07-31 13:19:09 +08:00
e907bfc3a7 plan: fix a bug in index join (#7150) 2018-07-30 16:54:11 +08:00
0fa27a4619 *: fix tests failed on Go 1.11beta (#7178)
Many of the failed tests are due to misuse of format placeholder.
2018-07-30 11:36:33 +08:00
a629630745 stats: refine the row count estimation for outdated stats (#7175) 2018-07-29 12:49:26 +08:00
ec8fb0d38c *: refine IntColumn <cmp> NonIntConstant (#7108) 2018-07-26 09:40:47 +08:00
1bf3f3d407 ranger: refine explain format, again (#7041) 2018-07-17 16:47:44 +08:00
372a6fc921 plan: refine explain result format (#7011) 2018-07-09 13:55:36 +08:00
6a931e55dc plan: remove other accessPaths if one is unique key and full matched. (#6925) 2018-06-29 14:32:26 +08:00
c5524cb238 plan, executor: use CorrelatedColumn to calculate range. (#6779) 2018-06-28 16:23:05 +08:00
a7819c3385 plan: draw relation bewteen operators with indent (#6894) 2018-06-28 13:28:43 +08:00
5a6e739787 plan: index join can be chosen in more scenario. (#6664) 2018-06-21 13:48:38 +08:00
182b7eb11f importer: fix typo and a broken link (#6795) 2018-06-09 19:59:03 +08:00
1082b1a0f3 plan: refine the result of EXPLAIN statement (#6755) 2018-06-07 20:13:16 +08:00
db4888a697 plan, parser: fix the wrong result of the UNION statement (#6752)
tidb diff result with mysql when mix use union and union-all fix #6731
- rename `selectStmt.UnionDistinct` to `selectStmt.IsAfterUnionDistinct`
- add explain test
- remove useless `unionStmt.Distinct` and `selectList.Distinct`
- refactor use golang slice, remove dup code
- return WrongNumColumnInSelect error and add test case
2018-06-07 17:08:26 +08:00
66c41128ca expression: improve constant folding of UDF if & ifnull (#6677) 2018-06-07 11:38:57 +08:00
b8539dc62a plan, executor: fix the wrong result of merge join (#6753) 2018-06-05 13:23:52 +08:00
c348afebf1 stats: refine row count estimation (#6746) 2018-06-04 20:45:30 +08:00
33b2a7abbf plan: fix row count estimation for limit (#6679) 2018-05-29 20:17:14 +08:00
a214b754d1 plan, cmd: plan, cmd: improve the code readability of planner (#6654) 2018-05-28 13:29:54 +08:00
fbba541156 *: move basic functions and definitions to model package, to make constructing dag request more easier. (#6652) 2018-05-26 20:39:22 +08:00
0b1b523a81 *:move explain_test to tidb repository (#6555) 2018-05-17 23:55:15 +08:00
8729424629 stats: fix dump stats (#6285) 2018-04-26 17:40:10 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08: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
631141b22c *: remove Next function for RecordSet (#6040) 2018-03-13 21:05:10 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
d9e16e104f *: Cleanup code (#5852) 2018-02-12 23:17:03 +08:00
8af98f5e09 importer: rand other types by stats (#5848) 2018-02-11 15:36:59 +08:00
a63601ad21 store/tikv: run gc workers parallelly (#5837)
* run gc workers parallelly
* dynamically to change gcConcurrency
2018-02-09 21:43:19 +08:00
45f00e8eb3 importer: support rand date by stats (#5830) 2018-02-09 14:21:31 +08:00
be1eeaccb9 importer: generate string by stats (#5804) 2018-02-07 18:35:10 +08:00
8578ad2a95 importer: generate int data by histogram (#5795) 2018-02-06 18:14:57 +08:00
68ddbf411e importer: support varchar for set (#5800) 2018-02-06 16:49:12 +08:00
43d4b44edb importer: fix overflow and add support for TypeNewDecimal (#5772) 2018-02-06 13:38:14 +08:00
fc699c9b0d importer: initialize EvalAstExpr (#5789) 2018-02-05 15:44:55 +08:00
1f1e5f53eb importer: support load stats by path. (#5768) 2018-02-01 23:32:44 +08:00
afd49aad23 ddl: support mock table info. (#5759) 2018-02-01 18:27:55 +08:00
d8fb5dd487 cmd/importer: specify the config file (#5757) 2018-01-31 16:43:02 +08:00
807dc791d4 cmd: add importer tool. (#5695) 2018-01-22 18:48:18 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
546b5a9418 *: support tls connection to pd and tikv (#5311) 2017-12-12 20:17:19 -06:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
473363adcb store/tikv: remove dependency on tidb from store/tikv. (#4932) 2017-10-31 13:14:02 +08:00