Commit Graph

47 Commits

Author SHA1 Message Date
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
3ad2608c9a plan: decorrelate for aggregation. (#2682)
* plan: decorrelate for aggregation.

* add test

* address comment.
2017-02-24 09:45:57 +08:00
4dcd7c8d41 *: fix bug about scalar subquery. (#2674) 2017-02-18 15:42:26 +08:00
128e8e86d5 executor: fix bug about left outer join. (#2672) 2017-02-17 20:27:26 +08:00
37977865df *: add max1row info and refine scalar subquery's decorrelation. (#2646) 2017-02-17 19:25:00 +08:00
7ec875c952 executor: fix a bug of left outer semi join. (#2573)
* executor: fix a bug of left outer semi join.
2017-02-03 07:33:44 -06:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
e38c67e086 executor: implements nested loop join. (#2365) 2017-01-03 19:53:03 +08:00