Commit Graph

1910 Commits

Author SHA1 Message Date
fa00255e2e fix goroutine leak in chunk size control test (#9718) 2019-03-14 15:58:09 +08:00
f738ba24ad executor: replace logger with zap logger (#9521) 2019-03-14 15:14:38 +08:00
4422a23d9b executor: support window function lead and lag (#9672) 2019-03-14 14:40:51 +08:00
e3983227b4 log: generate digest and log it in slow log (#9662) 2019-03-14 13:45:32 +08:00
09beefbe04 session,executor: performance improvement in SetProcessInfo (#9681) 2019-03-13 17:24:39 +08:00
d4bad4ebb3 executor: add DROP ROLE support (#9616) 2019-03-13 15:01:38 +08:00
7f27f7daba planner, executor: set new child after injecting Project operator (#9684) 2019-03-13 14:19:32 +08:00
f5a4dd986a executor: add window function PERCENT_RANK (#9671) 2019-03-13 11:34:09 +08:00
942b2cfc4a executor: fix data race in testChunkSizeControlSuite (#9676) 2019-03-12 17:52:25 +08:00
52c8267a73 *: tiny refactor, more go idiom (#9660) 2019-03-12 14:12:56 +08:00
353b216b7a planner, executor: check col.OrigColName instead of col.ColName in isCoveringIndex (#9637) 2019-03-12 10:19:26 +08:00
6e8cd3c7dd executor: support window function nth_value (#9596) 2019-03-12 00:42:37 +08:00
0dada1ec37 binlog: update binlog enable config && add tidb_log_bin system variable (#9625) 2019-03-11 22:18:46 +08:00
f0aca29fff executor: support window function cume_dist (#9619) 2019-03-11 19:30:54 +08:00
ec208f5484 planner: the expression field name disappears when there's window function (#9644) 2019-03-11 19:01:41 +08:00
fc7458eef2 Remove a redundant GetInfoSchema call (#9640) 2019-03-11 17:28:58 +08:00
9891b3d546 executor, types: update tests for the description format of type year (#9253) 2019-03-11 15:56:58 +08:00
0bec639074 planner: correct ExpectedCnt for children plans of join (#9497) 2019-03-11 15:08:02 +08:00
80110fbf78 *: refactor slow log format and parse slow query log to SLOW_QUERY table. (#9290) 2019-03-11 14:42:29 +08:00
3910a720df *: add assertion in kvproto to check data consistency (#9180) 2019-03-08 16:49:31 +08:00
85c4553c4e planner: chose outer table based on cost when both tables are specified in TIDB_INLJ (#9579) 2019-03-08 13:25:44 +08:00
e6b1c4cfae planner: fix window func support (#9605) 2019-03-07 23:28:56 +08:00
d35d3a5820 variable: change "ddl_slow_threshold" (#9043) 2019-03-07 16:36:11 +08:00
2d89e3be94 executor: Chunk size control test for Limit+TableScan and Limit+IndexScan (#9574) 2019-03-07 15:29:50 +08:00
f8d90202c0 use single batch for insert (#9406) 2019-03-07 11:52:10 +08:00
247777d870 executor: support window function first_value and last_value (#9560) 2019-03-06 21:43:14 +08:00
2b646cb58b planner, executor: handle default frame for window functions (#9544) 2019-03-06 19:37:30 +08:00
2f69a28d74 executor: control Chunk size for StreamAgg&HashAgg (#9512) 2019-03-06 16:44:52 +08:00
4ccc4c1bcb executor: add error check (#9563) 2019-03-06 10:07:36 +08:00
e7ff050a45 planner, executor: support SQL show pump/drainer status (#9456) 2019-03-04 15:39:54 +08:00
e767c5b5b0 increase wait time in TestProjectionParallelRequiredRows to fix CI problem (#9504) 2019-03-04 13:19:10 +08:00
0267a7fbdf ddl: validate fsp for datetime/timestamp if they are used as defaultvalue of datetime/timestamp columns (#9327) 2019-03-04 11:19:11 +08:00
0b371ea4fa executor: only use the transaction buffer for union scan (#9428) 2019-03-03 14:54:18 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
7ac4902b8f ddl: disallow generated column referring to auto_increment column (#9234) 2019-03-01 11:50:13 +08:00
fa37762c53 executor: tiny refactor, remove physicalTableID from the three reader (#9511) 2019-03-01 10:36:09 +08:00
4f232e5c8d executor: add CREATE ROLE support (#9461) 2019-03-01 10:07:28 +08:00
2433e28d8d *: fix ineffectual assignments and misspellings (#9481) 2019-02-28 19:25:07 +08:00
9259785455 executor: support window function rank and dense_rank (#9500) 2019-02-28 14:44:08 +08:00
8b84b94c96 *: fix union scan for partitioned table (#8871) 2019-02-28 13:43:45 +08:00
69f2749154 executor: only show valid columns in stats_histogram (#9487) 2019-02-28 13:06:38 +08:00
6f5f7c360f table, executor: handle the column's version when it's greater than ColumnInfoVersion1 (#9488) 2019-02-27 16:57:33 +08:00
4449eb062a ddl: add ddl job error count limit, exceed the limit should cancel the ddl job (#9295) 2019-02-27 15:03:04 +08:00
45f9d6a00f statistics: compute and store column order correlation with handle (#9315) 2019-02-27 11:32:00 +08:00
a59a5f41e1 planner, executor: support range framed window functions (#9450) 2019-02-27 10:07:28 +08:00
3e0f51b474 executor: control Chunk size for Selection&Projection (#9398) 2019-02-26 14:24:30 +08:00
5a283a98dd plan/executor: make semi joins null and empty aware (#9051) 2019-02-25 15:42:38 +08:00
2f3842a8da executor, planner: refine merge join compare methods to avoid some rare cases (#9390) 2019-02-25 14:19:26 +08:00
266ff4b6f3 executor, ddl: get the correct result of "show create table" when adding the first index to the table (#9388) 2019-02-22 18:49:44 +08:00
18449d777a *: merge statement buffer when BatchGetValues (#9374) 2019-02-22 11:06:58 +08:00