Commit Graph

96 Commits

Author SHA1 Message Date
c07fcc4a34 executor: make the projection executor support vectorized expression evaluation (#11917) 2019-08-30 13:41:05 +08:00
bdbaeb419d executor: decrease the memory usage of hashTable in HashJoinExec (#11832) 2019-08-29 14:45:52 +08:00
fcef061059 executor: fix wrong partition boundary for window funcions (#11637) 2019-08-22 11:38:28 +08:00
8d165f0fd2 executor: copy row data instead of refereeing chunk.Row in some window functions. (#11678) 2019-08-22 10:57:54 +08:00
db2f1edadc executor: support converting from vectorized evaluation to row-based evaluation (#11778) 2019-08-20 15:59:16 +08:00
36573d5b57 executor: make vectorized methods of Time be compatible with its row-based methods (#11776) 2019-08-19 16:30:17 +08:00
1b13a2acb9 expression, util: add an interface Times for chunk.Column (#11742) 2019-08-15 13:00:37 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
5cbb17c86b executor: add reserve methods to Column for var-length types (#11699) 2019-08-12 14:51:05 +08:00
6098ed66e0 executor: add vectorized access methods for time.Duration stored in Column(#11677) 2019-08-08 16:00:37 +08:00
45790b5799 fixup (#11636) 2019-08-06 15:42:56 +08:00
d54f0a2bd4 expression: add vectorized evaluation methods to Expression (#11530) 2019-08-01 13:28:23 +08:00
fe998656e2 executor: add PreAlloc and replace nullCnt field with `Nul… (#11485) 2019-07-30 13:36:56 +08:00
67221062fd executor: add CopyReconstruct() and CopyConstruct() methods to Column (#11408) 2019-07-25 11:28:55 +08:00
899ff96e86 executor: introduce Sel to Chunk to indicate which rows ar… (#11384) 2019-07-23 21:00:29 +08:00
e1c6dfa638 executor: refactor some methods of Row and Chunk (#11380) 2019-07-23 14:40:24 +08:00
268be86807 executor: add vectorized data access methods to Column (#11368) 2019-07-22 19:06:58 +08:00
d927f9ae18 executor: expose chunk.Column to prepare for vectorized expression evaluation (#11351) 2019-07-22 12:40:55 +08:00
9c3997720b chunk: use native go style to do initialization (#11242) 2019-07-15 10:16:45 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
68e7b00bd1 chunk: change offset type to int64 (#10348) 2019-05-05 17:38:51 +08:00
d6396daa77 *: lazy eval explain id and tracker label (#10139) 2019-04-22 14:23:33 +08:00
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