b1e1a26151
types: refine Time type ( #5521 )
...
remove redundant fields, makes it easier to fit in Chunk.
2017-12-30 19:30:35 +08:00
c970be55f8
ddl: Clean log ( #5524 )
...
The `\n` will make the result of `grep` hard to read.
2017-12-29 16:56:26 +08:00
f8177996e7
plan: refine code about maxonerow ( #5501 )
2017-12-29 14:48:01 +08:00
233ab3fd15
tidb: fix some case TiDB does not graceful shutdown expectly. ( #5518 )
2017-12-28 22:34:42 -06:00
47cde7e210
plan: add comments and tiny clean up ( #5506 )
2017-12-27 21:32:07 +08:00
b901867b83
util/ranger: change BuildRange to build column/index/table range ( #5509 )
2017-12-27 06:16:19 -06:00
0d96c12e60
kv, store: refine some comments ( #5498 )
2017-12-27 19:38:36 +08:00
93b52805c3
ast, executor: set Fields for SelectStmt in PrepareExec ( #5504 )
2017-12-27 17:16:49 +08:00
fc80a91ddf
plan: remove useless aggregation function during "buildQuantifierPlan" ( #5510 )
2017-12-27 15:27:39 +08:00
427b02e00a
ddl: support alter table auto_increment ( #5472 )
2017-12-27 13:41:33 +08:00
b0921f9d27
executor: implement NextChunk interface for UnionScanExec ( #5432 )
2017-12-26 20:08:11 +08:00
b543bcc7df
executor: joinGenerator use chunk.Iterator ( #5500 )
...
So NestedLoopApply can use *chunk.List to generate results and reuse the memory.
2017-12-26 18:47:29 +08:00
80cf3ed3be
kvencoder: add prepare sql encode support ( #5505 )
2017-12-26 18:32:29 +08:00
140c3d0739
executor: "InsertExec.NextChunk" should use function "getRowsSelectChunk" ( #5493 )
2017-12-26 18:24:41 +08:00
95a5c8ce5a
expresion, executor: correct the type inference of function "sum" and "avg" ( #5495 )
2017-12-26 18:16:52 +08:00
c003acfe6e
ddl: fix the case that fails to split a table ( #5496 )
2017-12-26 16:44:34 +08:00
fa62e9fd01
*: merge ranger.IndexRange and ranger.ColumnRange. ( #5485 )
2017-12-26 16:08:36 +08:00
76f9e3e03b
statistics,expression: reduce allocation for DetachCondsForSelectivity, add a Filter function ( #5482 )
2017-12-26 15:01:28 +08:00
ccc10a56a6
executor: support Chunk for NestedLoopApply ( #5475 )
2017-12-26 13:37:19 +08:00
100bc58a83
parser, variable: fix #5478 , make 'set transaction read only' works. ( #5483 )
2017-12-25 21:36:15 +08:00
46fd1eb536
executor: support Chunk for ShowExec ( #5456 )
2017-12-25 21:29:56 +08:00
5c9eced880
chunk: add Iterator interface. ( #5476 )
...
* chunk: add Iterator interface.
This abstraction allowed algorithm like join result generator to iterator chunk rows in different form.
* *: address comment
2017-12-25 21:23:27 +08:00
04a91532b8
expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum' ( #5292 )
...
* expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum'
* Code format refine
* Code format refine
* Fix frac for avg
2017-12-25 21:15:37 +08:00
f67c068b26
plan: update type ( #5488 )
2017-12-25 20:29:12 +08:00
a7beb99d75
*: support pushing down stream aggregation on mocktikv ( #5444 )
2017-12-25 15:40:53 +08:00
cc0c09820d
executor, plan: reading from memtable should only take the needed columns ( #5481 )
2017-12-25 15:15:18 +08:00
0dee2ab0e7
expression: fix VectorizedFilter ( #5477 )
...
* expression: fix VectorizedFilter
A filter may not be of Int type, we check the filter's type first or Call `EvalBool`.
Another solution is to wrap an ` != 0 ` to the expression, but that is not as simple as this one.
* *: add TODO
2017-12-25 11:48:20 +08:00
48aae7b6ef
*: support show auto increment ID ( #5470 )
2017-12-22 20:16:11 +08:00
7159dd0ef6
executor: support Chunk for TableScanExec ( #5443 )
2017-12-22 19:52:43 +08:00
51431b2cf3
added http api for tidb ( #5388 )
2017-12-22 18:37:46 +08:00
232ecbeca0
executor: support Chunk for MergeJoinExec ( #5312 )
2017-12-22 16:47:22 +08:00
855df184e1
executor: support Chunk for TableDualExec ( #5395 )
2017-12-22 16:37:21 +08:00
544956bd54
types/json: remove old JSON type. ( #5468 )
2017-12-22 16:03:18 +08:00
b780b540ef
store/tikv: fix [TIME_COP_TASK] log print empty store informaction ( #5473 )
2017-12-22 14:18:25 +08:00
0e37b81211
plan: refine UnionAll building ( #5464 )
2017-12-22 13:52:11 +08:00
a386528393
executor: merge ApplyExec and NestedLoopJoin into NestedLoopApply. ( #5471 )
...
NestedLoopJoin is only used in ApplyJoinExec and ApplyJoinExec only has NestedLoopJoin.
Merge them into one simplifies the logic.
2017-12-22 13:44:43 +08:00
ec1b40d5b3
executor: Close() executors when Open() returns an error to avoid goroutine leak ( #5469 )
2017-12-22 12:38:07 +08:00
2c6d1cf8fa
plan,executor: remove HashSemiJoin ( #5467 )
...
HashSemiJoin is only used in Apply, it exists only because NestedLoopJoin doesn't support SemiJoin type.
This PR support SemiJoin type in NestedLoopJoin executor, so HashSemiJoin can be removed.
2017-12-22 12:25:42 +08:00
90401445d2
*: collect and store query feedback ( #5438 )
2017-12-22 11:33:05 +08:00
c4fb12d60e
executor: support Chunk for LoadData ( #5465 )
2017-12-21 22:44:59 +08:00
a23e744f78
store/tikv, metrics: record detail rpc type and store id. ( #5461 )
2017-12-21 19:00:15 +08:00
c37e104a30
fix issue5462 ( #5463 )
2017-12-21 18:03:54 +08:00
103f6b37f0
plan, executor: index join enhancement. ( #5425 )
2017-12-21 16:47:44 +08:00
fe7900f176
executor: DeleteExec suport NextChunk ( #5368 )
2017-12-21 15:57:56 +08:00
970e5b5684
*: replace JSON with BinaryJSON ( #5460 )
2017-12-21 15:20:17 +08:00
3c418c5617
executor: implement NextChunk for ReplaceExec ( #5370 )
2017-12-21 13:41:21 +08:00
3533efbb4a
executor: support Chunk for GrantExec ( #5459 )
2017-12-21 13:14:02 +08:00
6a306e4f27
executor: support Chunk for AnalyzeExec ( #5452 )
2017-12-21 11:17:20 +08:00
5c882361cd
executor: support Chunk for SimpleExec ( #5453 )
2017-12-21 11:04:16 +08:00
b35e024ace
executor: support Chunk for DeallocateExec ( #5457 )
...
* executor: support Chunk for DeallocateExec
* fix build
2017-12-21 10:50:44 +08:00