Commit Graph

33 Commits

Author SHA1 Message Date
90d64eff39 *: Support information_schema.table_constraints (#2586) 2017-02-04 12:07:19 +08:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
2cad815a89 plan: change distinct to aggregation. (#2515) 2017-01-20 15:34:36 +08:00
83e57cc203 plan: ignore the ambiguous error when retrieving schema first. (#2480)
* plan: ignore the ambiguous error when retrieving schema first.

* address comment.
2017-01-17 23:22:30 +08:00
a3c1d47058 parser: count multiple expression doesn't return error. (#2429) (#2448) 2017-01-13 10:24:22 +08:00
5f96f67cbc *: change schema from []*Column to struct (#2321) 2016-12-27 14:02:19 +08:00
751a81b77e *: add physical mem table plan (#2296) 2016-12-25 16:13:18 +08:00
74a1c9935d *: add StatementContext argument to functions. (#2157)
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
8b070e03ff executor: fix ci. (#2058) 2016-11-22 16:26:28 +08:00
7e041d2cba expression: let first_row get the first value no matter if it's null (#2057) 2016-11-22 16:07:14 +08:00
39a2c09542 executor_test: clean enviroment for each test. (#2025) 2016-11-18 16:45:13 +08:00
5044a8782f plan: recollect gby cols after retriving index. (#1966)
* plan: recollect gby cols after retrieving index.
2016-11-07 18:52:41 +08:00
8500a629de plan: fix bug when outer join's condition is false (#1923) 2016-11-01 22:46:31 +08:00
76f420595b *:support aggregate function push cross outer join. (#1899) 2016-11-01 17:59:12 +08:00
154d7f0c87 plan: fix a panic bug. (#1914) 2016-11-01 14:38:14 +08:00
82971c4779 plan: support aggregation push down. (#1886) 2016-10-31 01:17:21 +08:00
0d49936ef9 expression: fix a bug when checking whether two aggregation functions are same. (#1852) 2016-10-20 19:53:09 +08:00
406c5c4094 *: support common aggregation functions elimination. (#1843) 2016-10-20 15:58:34 +08:00
455a69eadb Add a test to avoid calling addAggregation multiple times. (#1776) 2016-09-28 19:47:39 +08:00
685fb1b0c2 executor: split big test file into smaller files. (#1757)
One big test file makes it hard to locate a specific test case.
2016-09-22 21:55:24 +08:00
648bee53b2 add stream agg executor. (#1730) 2016-09-18 12:49:57 +08:00
e4ac5301ce remove useless code. (#1609) 2016-08-20 16:00:20 +08:00
10359b0052 rewrite executor. (#1294)
* rewrite executor.
2016-06-07 20:32:15 +08:00
c26dfd54e4 executor: Change interface to datum in executor. (#1103)
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
bebacf4f3a evaluator: just one time eval (#1062)
* evaluator: just one time eval
2016-04-12 12:34:27 +08:00
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
d5941446c2 table: replace interface{} with Datum in table. 2016-03-02 21:01:20 +08:00
af131d2127 executor: replace Executor interface{} with Datum. 2016-03-02 16:13:25 +08:00
043ebd5ec8 *: Refactor package organization
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
d9f98132ee ast: introduce 'Datum'
Datum is a value box intended to replace 'interface{}' for better performance and easier to use.
2016-03-01 10:54:59 +08:00
b3d70cc8d7 *: Fix bug in AggregateExec.Close()
Pass sqllogic test select
2016-02-04 14:41:31 +08:00
f996a0ce9c *: Support count aggregate function in new plan and add unit tests. 2016-01-09 11:26:35 +08:00