632a8c4c82
executor, util: add Benchmarks for HashAggExec and StreamAggExec ( #8998 )
2019-02-14 13:29:35 +08:00
65066c8d1e
Control the number of rows in chunks returned by SelectResult ( #9293 )
2019-02-14 11:48:01 +08:00
469fa877d6
util/hack: define a MutableString type for function hack.String ( #9230 )
2019-02-12 12:30:40 +08:00
4a90503130
util/chunk: correct a typo in the comment ( #9256 )
2019-02-09 11:34:28 +08:00
3835bef7ae
executor: support window func for aggregate without frame clause ( #8899 )
2019-01-15 15:23:17 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
18d75a30ae
executor: support parallel partition for HashJoinExec ( #7911 )
2019-01-03 13:17:45 +08:00
f4f8b3db01
util/chunk: fix incorrect result when set duration to MutRow ( #8725 )
2018-12-19 14:58:08 +08:00
87b421265e
util/chunk: preallocate the columns array in MutRow to avoid array resize ( #8348 )
2018-11-19 11:04:44 +08:00
5d60849c11
chunk: support column pool ( #7971 )
2018-11-07 22:05:28 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
562b917356
util: add PreAlloc4Row and Insert for Chunk and List ( #7916 )
2018-10-18 20:38:48 +08:00
7623899b62
util: refine chunk.SwapColumn to rebuild the column reference ( #7841 )
2018-10-09 14:26:55 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
92e6a5af4f
executor: add batch copy to inner join, left and right outer join. ( #7493 )
2018-09-05 15:54:04 +08:00
e04f74b031
chunk: reduce chunk's iterator function call ( #7585 )
2018-09-03 14:54:49 +08:00
360567b1e8
executor/join : use shallow copy for semi join. ( #7433 )
2018-08-29 15:57:45 +08:00
2fb314537a
chunk: support capacity grow ( #7473 )
2018-08-28 20:08:13 +08:00
62461a77b7
util/chunk: fix TruncateTo again ( #7234 )
...
When we append null, we simply increment the nullCount,
so we need to unset the unused bits in the last bitmap byte.
2018-08-01 21:53:18 +08:00
d410159e06
util/chunk: fix chunk truncate ( #7216 )
...
Fix the wrong nullBitmap index after truncate.
2018-08-01 12:22:11 +08:00
0ca4cc6dc8
executor, util: wrap cast upon the args for AggFunction ( #7180 )
2018-07-31 17:51:44 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
90c721ad72
chunk/codec: adjust decoding offsets in chunk ( #7106 )
2018-07-19 18:53:16 +08:00
9cf670a324
*: cut off duration.fsp in chunk ( #7043 )
2018-07-17 15:36:27 +08:00
fced72f653
chunk: support encode/decode a Chunk ( #7006 )
2018-07-13 20:34:19 +08:00
8d1fe30c17
chunk: split "column" and "Row" to another source file ( #6960 )
2018-07-03 13:51:55 +08:00
68b96b9bbc
chunk: fix typo in comment ( #6705 )
2018-05-30 20:54:00 +08:00
f400c64e26
chunk: fix delete index in year type; ( #6611 )
2018-05-23 00:07:43 +08:00
5c2d21eab4
*: remove function "NewChunk" ( #6524 )
2018-05-14 13:43:19 +08:00
9ca8689582
types: handle truncate error in BinaryLiteral.ToInt ( #6163 )
...
Truncate error make be treated as warning, we should handle it in `BinaryLiteral.ToInt`.
And compare BinaryLiteral directly instead of converting to uint64 because that the compare function doesn't have statement context.
2018-03-28 14:44:53 +08:00
501de19821
stats: add average column size for the histogram ( #5974 )
2018-03-23 13:44:24 +08:00
eec1c524dc
util: refine Row.GetDatum when tp is MyDecimal ( #6087 )
2018-03-19 17:11:07 +08:00
c2c85b3102
executor, util: refine row.GetMyDecimal ( #6077 )
2018-03-16 22:55:16 +08:00
6a826fd0aa
*: collect query feedback ( #5909 )
2018-03-12 15:37:09 +08:00
ad814b0d6c
executor, util: employ memory Tracker to track memory usage during query execution ( #5826 )
2018-03-06 11:02:09 +08:00
d95f96505a
*: refine join result generator to return MaxChunkSize chunk ( #5715 )
2018-01-31 20:00:59 +08:00
99eaee7117
util: make list.MemoryUsage() be more efficient ( #5723 )
2018-01-26 20:07:00 +08:00
2cdb9d513b
chunk:add more benchmarks ( #5710 )
2018-01-25 13:32:36 +08:00
888bc2a602
*: uniform the way to iterate rows within a Chunk ( #5674 )
2018-01-22 11:34:04 +08:00
c5c0714cde
executor, sessionctx, util: log a warning when memory usage of HashJoinExec exceed threshhold ( #5658 )
2018-01-18 11:14:25 +08:00
f8c8697aae
util: add an interface for Chunk to count the memory usage ( #5645 )
2018-01-15 17:55:21 +08:00
6f2a8577b9
chunk: "setMutRowJSON" should allocate one more byte for null bitmap ( #5603 )
...
* chunk: "setMutRowJSON" should allocate one more byte for null bitmap
* address comment
2018-01-10 21:35:01 +08:00
db328586b6
stats: speed up row count estimation ( #5579 )
2018-01-09 15:37:49 +08:00
5db9ac2506
types,util/chunk: refactor Time for Chunk. ( #5571 )
2018-01-09 10:12:27 +08:00
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