6a99fa25d7
executor: fix union dual table order by but not sort ( #8251 )
2018-11-13 15:27:18 +08:00
19c01f40e0
planner: fix error caused by different length between inner and outer OrderByItems ( #8273 )
2018-11-13 11:17:32 +08:00
b4be2f48e3
cmd/explaintest: clean up tidb-server process ( #8261 )
2018-11-12 11:29:15 +08:00
cd5ffb3b32
planner: support join elimination rule ( #8021 )
2018-11-09 21:31:29 +08:00
deec48d629
planner: fix union statements order ( #8214 )
2018-11-07 17:50:34 +08:00
8e5f4b1244
*: update logrus and parser package, tiny clean up ( #8158 )
2018-11-05 15:39:51 +08:00
fffb49bce6
*: modify tests to work with only-full-group-by on ( #8163 )
2018-11-05 10:41:48 +08:00
60d05bd759
planner: eliminate ifnull in expression rewriting process ( #7996 )
2018-11-02 12:50:27 +08:00
b7f431e5c3
*: migrate dependency management to Go1.11 module ( #8054 )
2018-11-01 20:54:22 +08:00
e195df2e5d
stats: fix selectivity estimation for primary key ( #8134 )
2018-11-01 20:38:08 +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
696ef7bae2
plan: convert in subquery to agg and inner join ( #7531 )
2018-10-30 19:19:32 +08:00
a4cff40a18
support _tidb_rowid for table scan range ( #8047 )
2018-10-25 20:35:45 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
d65ce8655c
stats: fix estimation for out of range point queries ( #8015 )
2018-10-24 16:20:22 +08:00
25118db843
*: move ast.NewValueExpr to standalone parser_driver package ( #7952 )
...
Make the ast package get rid of the dependency of types.Datum
2018-10-19 19:37:55 +08:00
19f56480d5
explaintest: add explain test for partition pruning ( #7505 )
2018-10-18 18:55:22 +08:00
6e525f9e62
planner: eliminate if null on non null column ( #7924 )
2018-10-17 22:20:32 +08:00
c520132962
plan: move projEliminate behind aggEliminate ( #7909 )
2018-10-16 17:25:17 +08:00
d60a1a227b
plan: build anti semi join for NOT EXISTS ( #7842 )
2018-10-09 16:57:15 +08:00
78303cbb4d
planner/core: separate aggPrune from aggPushDown ( #7676 )
2018-10-08 19:51:09 +08:00
f33e04f486
expression: make sysdate unfoldable ( #7838 )
2018-10-08 16:47:45 +08:00
177c155161
plan: exclude IsNull from constant propagation ( #7835 )
2018-10-08 14:47:13 +08:00
869e20138a
plan: refine the handle check to use point get plan for prepare statement ( #7732 )
2018-09-25 11:32:12 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
7b4686d8c2
expression, plan: aggressive constant fold for null parameter expression to simplify outer join ( #7696 )
2018-09-23 19:46:52 +08:00
83a923e796
stats: support dump stats for partition table ( #7753 )
2018-09-22 09:52:47 +08:00
56713821ff
plan: fix a problem caused by union's schema ( #7680 )
...
Before this commit. Union use the schema of its `Children[0]`.
The `Columns` information is correct.
But the `unique key information` is not, obviously.
2018-09-20 19:36:14 +08:00
b30dbd06ac
plan: support limit/group-by/order-by clauses in point get ( #7720 )
2018-09-17 21:18:44 +08:00
44e05789c3
plan: prune columns for LogicalTableDual ( #7725 )
2018-09-17 16:13:50 +08:00
9f25032666
plan: fix predicate push down for UnionScan ( #7695 )
2018-09-17 14:44:53 +08:00
506dcceea2
plan: enhance predicate pushdown over join ( #7645 )
...
Derive superset of DNF predicates and push it to children plan nodes as much as possible.
2018-09-17 14:36:52 +08:00
7f6babb2b4
plan: fix mistaken conversion from outer join to inner join ( #7689 )
...
exclude upper level join conditions from predicates when simplifying
embedded outer join
2018-09-17 13:39:15 +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
418cdf2308
plan: use point get plan for UPDATE statement ( #7586 )
...
* plan: use point get plan for UPDATE statement
2018-09-04 07:56:42 +08:00
7f37bad60f
expression: propagate more filters in PropagateConstant ( #7276 )
2018-08-31 00:11:04 +08:00
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