Commit Graph

58 Commits

Author SHA1 Message Date
6608dbdc2f executor: fix a bug of NewIndexLookUpJoin's Next(). (#5455) 2017-12-20 20:57:12 +08:00
581002b8f7 plan, executor: only set DefaultValues in agg push down. (#5383) 2017-12-12 21:31:58 +08:00
2edc8dcfab executor: fix a bug when apply meets index join (#5381) 2017-12-12 20:25:27 +08:00
c9245f52c2 plan: add hint to force to choose hash join. (#5315) 2017-12-08 20:02:45 +08:00
c6e8f36835 *: avoid double Close() executor during test (#5285) 2017-12-01 18:13:50 +08:00
d675ce16ca plan: fix a bug about index join. (#5275) 2017-12-01 17:08:45 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
726c3a0fa9 executor: tiny refine for join (#5099) 2017-11-20 23:05:57 +08:00
a67c4b1ee1 plan, executor: refine projection elimination when projection is the inner child of an outer join (#5086) 2017-11-15 04:28:07 -06:00
cd5c665c8c executor: use baseExecutor for all Executors (#5087)
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
7cdcc1d990 plan: return error instead of panic when subquery in join ON condition (#5062) 2017-11-10 18:27:03 +08:00
68cd5b09c4 plan, executor: improve hash join to support all join types (#4987) 2017-11-09 10:22:35 +08:00
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
b7c722aab6 Support SQLMode ONLY_FULL_GROUP_BY and fix a join panic bug (#4613) 2017-11-06 10:53:29 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
a34964a36a *: improve the column info for client (#4770)
Add table/database info in the response message.
2017-10-15 08:27:13 -05:00
9c2ea17722 *: enforce errcheck in Makefile (#4724)
checks all errors and enable errcheck in Makefile

Fixes https://github.com/pingcap/tidb/issues/4668
2017-10-09 17:16:10 +08:00
67fa005048 executor, plan: abandon the selection controller (#4528) 2017-09-21 11:40:04 +08:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
87baaaf73e plan: fix bugs when do natural join or join with using. (#4382)
* plan: fix bug when do natural join or join with using.
2017-08-31 10:06:32 +08:00
6c44eb6eee *: fix bug of union type cast (#4322) 2017-08-26 15:24:52 +08:00
3e0bfbe91a plan: rewrite index join plan generation. (#4274) 2017-08-22 12:29:02 +08:00
ae512b3e3e plan: reopen join reorder for new planner. (#4242) 2017-08-20 17:26:42 +08:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
3e1efa634f plan: push property across semijoin. (#4083) 2017-08-08 18:24:26 +08:00
0e8bffa44e executor: fix bug when do outer index join (#3998) 2017-08-03 12:08:02 +08:00
bedd8790a9 executor: fix bug in index lookup join (#3992) 2017-08-02 22:24:57 +08:00
7874e989eb *: support natural join. (#3861) 2017-08-01 13:56:29 +08:00
f283948ae9 plan: fix the order of schema columns (#3946) 2017-07-31 15:49:14 +08:00
bb1878d271 executor: fix bug when sort meets apply. (#3932) 2017-07-28 14:33:11 +08:00
0dbb0877e0 plan, executor: support ordered index join. (#3921) 2017-07-28 13:45:27 +08:00
a9b1a83f31 executor: fix a bug in index join. (#3860) 2017-07-23 15:42:19 +08:00
fc9d5eb215 executor, codec: fix bug when join 2 decimal keys. (#3797) 2017-07-19 11:42:17 +08:00
466e48c3de executor, util: fix bug when the join's keys have different types. (#3784) 2017-07-18 16:28:08 +08:00
2578ae15cd plan, executor_test: fix bug for user variable. (#3776) 2017-07-17 16:35:31 +08:00
bd64339e93 plan: first step of join auto-select. (#3623) 2017-07-10 15:21:22 +08:00
4bc3cf7a48 *: support using clause in join statement. (#3372) 2017-06-12 17:14:13 +08:00
3c7df1c302 executor, plan: support batch index look up join. (#3306) 2017-05-23 23:12:19 +08:00
e7257d0e9d plan, executor: open the new plan switch for all test. (#3274) 2017-05-16 20:40:12 +08:00
436eb24303 executor,store: fix a bug caused by HashJoinExec encode/decode (#3225)
HashJoinExec encodeRow method doesn't consider timezone,
but decodeRow method does, this introduce a bug.
2017-05-09 16:13:38 +08:00
67815f1a07 plan: copy the physical info to avoid panic. (#3199) 2017-05-03 11:27:07 +08:00
b4f20e6f0b util/testkit: refine testkit (#3177) 2017-04-29 23:20:49 +08:00
c646b59927 *: fix data race in join. (#3159) 2017-04-27 23:26:15 +08:00
7699d3fb76 *: refine EvalBool function. (#3139) 2017-04-25 22:07:17 +08:00
59154905aa *: rename table-driven tests name. (#3081) 2017-04-19 10:02:57 +08:00
aaa6184670 *: implement index nested loop join (#2945) 2017-04-01 15:12:20 +08:00
c8c7dde6d7 plan: enforce property for index join. (#2938) 2017-03-28 12:02:37 +08:00
b4f985f385 plan: rebuild schema for join after join reordering. (#2905) 2017-03-21 16:41:25 +08:00
586b8718c0 plan: fix bug when apply meet limit. (#2894) 2017-03-21 09:55:47 +08:00
a408b86269 *: support in subquery unfolding (#2816) 2017-03-16 14:26:34 +08:00