de992eb570
expression: only do a shallow copy when evaluating a "Column" expression ( #5542 )
2018-01-06 12:24:30 +08:00
c45111d9f6
stats: use more compact structure for histograms ( #5539 )
...
* stats: use more compact structure for histograms
* address comments
* address comments
* refine code
* address comment
2018-01-05 20:43:01 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
c19307c41c
util, executor: refactor Chunk.AppendRow to handle virtual row ( #5563 )
2018-01-05 12:35:21 +08:00
36d9b61365
*: AddIndex skip checking unique constraint when TiDB is importing data. ( #5535 )
2018-01-02 20:08:49 +08:00
132626e4f6
ddl: fix rawArgs is overwritten ( #5531 )
...
* ddl: fix rawArgs is overwritten
2018-01-02 17:03:58 +08:00
b901867b83
util/ranger: change BuildRange to build column/index/table range ( #5509 )
2017-12-27 06:16:19 -06: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
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
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
cc0c09820d
executor, plan: reading from memtable should only take the needed columns ( #5481 )
2017-12-25 15:15:18 +08:00
48aae7b6ef
*: support show auto increment ID ( #5470 )
2017-12-22 20:16:11 +08:00
855df184e1
executor: support Chunk for TableDualExec ( #5395 )
2017-12-22 16:37:21 +08:00
90401445d2
*: collect and store query feedback ( #5438 )
2017-12-22 11:33:05 +08:00
970e5b5684
*: replace JSON with BinaryJSON ( #5460 )
2017-12-21 15:20:17 +08:00
7995346d8d
*: clean up and some file renaming. ( #5440 )
2017-12-18 23:24:25 +08:00
8f63b8325e
util/chunk: add mutable row type. ( #5427 )
2017-12-18 20:55:07 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
6ee266d0ca
executor: UpdateExec support NextChunk ( #5372 )
2017-12-14 15:32:06 +08:00
81ffef96d7
ddl: fix a bug when format generation expressions. ( #5262 )
2017-12-13 18:57:01 +08:00
e604d4b894
util/chunk: fix get decimal datum. ( #5377 )
...
The length and frac must be set to properly encode a decimal datum.
2017-12-12 14:31:43 +08:00
a7b0a1f915
server,tidb: move cancel function from session to clientConn ( #5346 )
2017-12-09 15:27:58 +08:00
77c4a98afb
plan, stats: remove unnecessary clone ( #5306 )
2017-12-05 18:27:44 +08:00
5155361045
executor: support Chunk for UnionExec ( #5229 )
2017-12-05 16:53:34 +08:00
7e0827fa90
util/chunk: add List to holds a slice of Chunk. ( #5290 )
2017-12-04 15:03:12 +08:00
6c68e41f73
store/tikv: use go fail for some tests. ( #5280 )
...
* store/tikv: use go fail for some tests.
2017-12-01 08:20:30 -08:00
640c4913e0
stats/selectivity: remove useless clone ( #5283 )
2017-12-01 21:22:55 +08:00
c6e8f36835
*: avoid double Close() executor during test ( #5285 )
2017-12-01 18:13:50 +08:00
00a14b52f0
kvencoder: add EncodeMetaAutoID method ( #5272 )
2017-11-30 19:07:08 +08:00
ba1979c2de
executor: support Chunk for SelectionExec ( #5211 )
2017-11-30 16:30:28 +08:00
d815ce1a0d
util : fix problem of kvencoder accessing database without creating in advance ( #5269 )
2017-11-30 15:29:28 +08:00
5f468489ab
util: add kvencoder package, make transfer sql to key-values be possible. ( #5236 )
2017-11-29 18:01:31 +08:00
cbceac701d
*:fix the bug about auto-increment key after renaming a table from old DB to the another DB ( #5248 )
2017-11-29 15:31:16 +08:00
69c9e4efe4
*: limit chunk size to MaxChunkSize ( #5252 )
2017-11-28 21:05:30 +08:00
62b4b0f866
ranger, stats: remove Align method of IndexRange. ( #5240 )
2017-11-28 20:02:24 +08:00
5b736237fe
executor: support Chunk in LimitExec ( #5200 )
2017-11-28 16:33:00 +08:00
6d5bb7c23e
plan, executor: split selection to logical plan and physical plan. ( #5235 )
...
* plan, executor: split selection to logical plan and physical plan.
2017-11-27 22:01:45 -08:00
ae9d7f5dab
*: set session variable MaxChunkSize to 2 for test ( #5238 )
2017-11-28 13:48:36 +08:00
4c904639cf
*: add a session variable to control max chunk size ( #5233 )
2017-11-28 10:41:22 +08:00
4f91997b56
executor: improve show full processlist tests ( #5222 )
2017-11-27 07:10:52 -06:00
20bd1b6842
executor: support chunk for Sort ( #5221 )
2017-11-27 20:39:26 +08:00
ee0d3f37a2
types, ranger: move Range to package ranger. ( #5231 )
2017-11-27 18:17:29 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
a428e9d820
executor: support chunk for IndexLookupReader. ( #5206 )
2017-11-25 16:33:43 +08:00
191de50646
chunk: make chunk.Row iteratable ( #5196 )
2017-11-23 12:45:09 +08:00
81012db983
ranger: remove useless field and simplify some logic. ( #5101 )
2017-11-23 12:40:07 +08:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00