Commit Graph

42 Commits

Author SHA1 Message Date
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
3835bef7ae executor: support window func for aggregate without frame clause (#8899) 2019-01-15 15:23:17 +08:00
18d75a30ae executor: support parallel partition for HashJoinExec (#7911) 2019-01-03 13:17:45 +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
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
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
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
888bc2a602 *: uniform the way to iterate rows within a Chunk (#5674) 2018-01-22 11:34:04 +08:00
f8c8697aae util: add an interface for Chunk to count the memory usage (#5645) 2018-01-15 17:55:21 +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
c19307c41c util, executor: refactor Chunk.AppendRow to handle virtual row (#5563) 2018-01-05 12:35:21 +08:00
855df184e1 executor: support Chunk for TableDualExec (#5395) 2017-12-22 16:37:21 +08:00
970e5b5684 *: replace JSON with BinaryJSON (#5460) 2017-12-21 15:20:17 +08:00
6ee266d0ca executor: UpdateExec support NextChunk (#5372) 2017-12-14 15:32:06 +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
5155361045 executor: support Chunk for UnionExec (#5229) 2017-12-05 16:53:34 +08:00
ba1979c2de executor: support Chunk for SelectionExec (#5211) 2017-11-30 16:30:28 +08:00
5b736237fe executor: support Chunk in LimitExec (#5200) 2017-11-28 16:33:00 +08:00
4c904639cf *: add a session variable to control max chunk size (#5233) 2017-11-28 10:41:22 +08: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
a32b8dbcf6 *: use Chunk for TableReader. (#5142) 2017-11-21 10:08:50 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
66c19def93 util/codec: support decode data to chunk. (#5066) 2017-11-13 18:34:22 +08:00
8fd5c7de6e server: use types.Row to write result set. (#5056) 2017-11-10 15:41:02 +08:00
1aa2a69f92 expression: remove type assertion on types.DatumRow. (#5005) 2017-11-07 14:17:53 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
5ada5ab53c util/chunk: introduce Chunk to replace current datum slice Row. (#4856) 2017-10-25 11:02:40 +08:00