Commit Graph

371 Commits

Author SHA1 Message Date
bc97e2d616 plan, util/admin: fix admin check table error when a column of index is virtual generated (#6817) 2018-08-28 12:42:55 +08:00
4836aa33c3 executor: support new aggregate framework for HashAggExec (#7268) 2018-08-21 15:17:25 +08:00
d4e08853e4 executor,statistics: make query feedback work for partitioned table (#7394) 2018-08-21 11:43:48 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
cf5e392b24 executor: change joinResultGenerator to joiner (#7323) 2018-08-13 19:03:58 +08:00
be2c276fe4 executor, plan: remove Exists (#7207) 2018-08-09 22:45:24 +08:00
9eb197f754 executor: remove the old evaluate logic of stream agg (#7251) 2018-08-03 08:34:28 +08:00
67e724a5fe executor: fix a bug of update with outer join (#7177) 2018-08-02 13:47:56 +08:00
1285088127 executor, plan: support analyze partition table (#7190) 2018-08-01 16:39:08 +08:00
0ca4cc6dc8 executor, util: wrap cast upon the args for AggFunction (#7180) 2018-07-31 17:51:44 +08:00
a816f7882a table,plan,executor: support delete operation for table partition (#7147) 2018-07-30 18:25:51 +08:00
343cb849b8 *: fast path point select (#6937) 2018-07-30 18:13:47 +08:00
e3ba021f5a *: make system variable 'group_concat_max_len' work (#7080) 2018-07-26 20:02:56 +08:00
cef80b3da3 plan: converting plan to pb should not rely on Column's Position (#7105) 2018-07-24 15:59:00 +08:00
387a53a719 executor: move tidb_reader code to its named files. (#7065) 2018-07-19 22:36:07 +08:00
44e34bd304 *: index refactor for table partition (#7062) 2018-07-17 14:01:50 +08:00
7c18d24933 executor, store: fixed daylight saving time issue (#6823)
Thank you for working on TiDB! Please read TiDB's [CONTRIBUTING](https://github.com/pingcap/tidb/blob/master/CONTRIBUTING.md) document **BEFORE** filing this PR.

## What have you changed? (mandatory)

During coprocessor dag task,  it first uses timezone `name`, if non-empty, to get legitimate timezone variable. To achieve this, we need to push down such data into tikv which leads to change the logic of building pushdown request. The logic I mentioned mainly resides in `executor` package. 

I change `timeZoneOffset` to `zone` and add second return parameter `name string`.  The intentioned of doing this to adopt the convention of `time` package. 

For the same purpose, I change `GetTimeZone` to `Location`. As you can see, in `time` package, timezone was bind to `Location`. 


## What are the type of the changes (mandatory)?
- Bug fix (non-breaking change which fixes an issue)


## How has this PR been tested (mandatory)?
unit-test
integration-test will be added shortly
2018-07-16 18:15:19 +08:00
461663652d *: support 'admin show ddl jobs <number>' grammar (#7028) 2018-07-12 14:49:14 +08:00
ab46569a50 executor: refine StreamAggExec when child is empty (#7002) 2018-07-11 14:33:48 +08:00
5bdf34b9bb plan: fix "INSERT ... ON DUPLICATE KEY UPDATE" (#6593) 2018-07-09 13:25:23 +08:00
dd37138dc0 *: support parallel hash agg (#6658) 2018-06-29 22:59:47 +08:00
3c05d77a17 executor: introduce a new execution framework for aggregate functions (#6852) 2018-06-29 16:52:56 +08:00
5a5aeb813a expression, plan: no longer call expression.Clone in plan package except ResolveIndices (#6866) 2018-06-29 16:25:26 +08:00
c5524cb238 plan, executor: use CorrelatedColumn to calculate range. (#6779) 2018-06-28 16:23:05 +08:00
48719d2019 stats: refine index row count estimation (#6869) 2018-06-22 15:48:36 +08:00
35b68b63ac expression, executor: extract expression to ProjExec from AggExec (#6839) 2018-06-22 15:25:44 +08:00
284fe1006e *: support select from partition table (#6642) 2018-06-22 11:38:51 +08:00
3d7528cbb3 *: add tidb_hashagg_partial/final_concurrency (#6831) 2018-06-14 10:17:08 +08:00
e2c8c4e975 executor: init builder startTS in buildTableDual (#6830) 2018-06-13 20:03:57 +08:00
39a8d0eb7a executor: support parallel projection (#6323) 2018-06-07 22:50:54 +08:00
b8539dc62a plan, executor: fix the wrong result of merge join (#6753) 2018-06-05 13:23:52 +08:00
4a36ef721c executor: DML use DatumRow (#6720) 2018-06-01 10:22:02 +08:00
ce071f5dd3 refactor load data (#6665) 2018-05-29 21:19:14 +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
aa76a6eeba plan, executor: correlated column can be pushed down. (#6403) 2018-05-07 19:43:02 +08:00
3324d3b33c admin: admin show ddl jobs add tableName, schema name (#6276) 2018-05-06 20:53:08 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
0fda3b408f executor: move IgnoreErr to StmtCtx (#6392) 2018-05-02 17:10:59 +08:00
530aa9519d executor: refine log information about slow queries (#6343) 2018-04-26 00:48:25 +08:00
12dbd32854 *: rename NewRange to Range. (#6368) 2018-04-25 13:13:04 +08:00
05bbffec0f *: remove IntColumnRange. (#6366) 2018-04-24 19:37:26 +08:00
fb8efa5596 *: clean up code for set SQL statement priority, let it bypass plan (#6328) 2018-04-21 08:58:24 -05:00
39a2f84231 executor: support cleanup dangling index data command (#6102) 2018-04-02 18:26:23 +08:00
83066fc954 executor: track memory usage for nested loop apply (#6171) 2018-04-02 13:54:12 +08:00
a3e4a92f47 stats: control collection of feedback (#6085) 2018-03-26 19:03:21 +08:00
6f43b37572 Add admin checksum table command (#6067) 2018-03-20 20:46:43 +08:00
67c948b609 executor: refactor merge join (#6078) 2018-03-20 12:37:40 +08:00
090f7c5e12 admin: show more information on ddl history (#6035)
* admin:address comments

* output information limit number

* handling comment questions

* handling comment questions

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* *: fix test case

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments
2018-03-16 10:07:50 +08:00
98a2640286 *: support 'admin recover index' (#5980) 2018-03-15 18:04:35 +08:00
d2d06ecac2 executor: remove Next() function for ProjectionExec (#6023) 2018-03-15 12:51:11 +08:00