Commit Graph

63 Commits

Author SHA1 Message Date
2f69a28d74 executor: control Chunk size for StreamAgg&HashAgg (#9512) 2019-03-06 16:44:52 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +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
71088815e7 executor: refine HashAgg.Close when unparallelExec (#8810) 2018-12-27 17:14:04 +08:00
3040788655 *: make errcheck work again (#8795) 2018-12-25 17:16:52 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
6fb260f8a6 *: redesign trace statement with json output (#8357) 2018-11-21 13:50:18 +08:00
4ddf316c83 executor: recovery panic in parallel hashagg and projection (#8185) 2018-11-06 16:16:25 +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
458c0d1c27 executor: refine explain analyze (#7888) 2018-10-16 20:02:43 +08:00
d21f294393 *: make explain support explain anaylze (#7827) 2018-10-12 20:01:19 +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
27047a0e2f executor: remove *MVMap from agg executor (#7541) 2018-09-11 21:31:48 +08:00
4836aa33c3 executor: support new aggregate framework for HashAggExec (#7268) 2018-08-21 15:17:25 +08:00
9eb197f754 executor: remove the old evaluate logic of stream agg (#7251) 2018-08-03 08:34:28 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
e3ba021f5a *: make system variable 'group_concat_max_len' work (#7080) 2018-07-26 20:02:56 +08:00
2fba9931c7 *: remove DatumRow (#7165) 2018-07-26 19:42:58 +08:00
dd99148767 executor: pass row pointer rather than row to avoid convertT2I (#7143) 2018-07-25 13:37:09 +08:00
4f16bdd618 executor: remove childrenResult from baseExecutor (#7076) 2018-07-18 21:18:48 +08:00
ab46569a50 executor: refine StreamAggExec when child is empty (#7002) 2018-07-11 14:33:48 +08:00
40193a3daf executor: fix panic on Stream Aggregate (#6984) 2018-07-04 18:28:31 +08:00
5601c45189 executor: Fix query hang on hash aggregate operator (#6982) 2018-07-04 17:44:40 +08:00
dd37138dc0 *: support parallel hash agg (#6658) 2018-06-29 22:59:47 +08:00
3c05d77a17 executor: introduce a new execution framework for aggregate functions (#6852) 2018-06-29 16:52:56 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
73c3a82b8f executor: improve performance of aggregation which have no group-by item. (#6210) 2018-04-03 16:01:59 +08:00
lwh
861103b4ae executor: remove Next function for HashAggExec (#5987) 2018-03-22 17:16:51 +08:00
27dc8f3550 expression/agg: add ResetContext() for stream aggregation. (#6097) 2018-03-22 13:52:02 +08:00
8fef19a75b executor: remove Next function for StreamAggExec (#6017)
executor: remove Next function for StreamAggExec
2018-03-12 14:39:51 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
888bc2a602 *: uniform the way to iterate rows within a Chunk (#5674) 2018-01-22 11:34:04 +08:00
fc6376981d *: remove GetSessionVars() in expression evaluation (#5683) 2018-01-22 11:04:32 +08:00
9f2ff293dd *: make MVMap.Get() be able to reuse the value buffer pre-allocated (#5644) 2018-01-16 15:15:25 +08:00
3ce567630b executor: store column's fieldType in executor (#5619) 2018-01-12 16:57:31 +08:00
f4fa60d306 executor, expression: support chunk for HashJoinExec (#5439) 2018-01-10 22:06:58 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
bc459c5261 executor: support Chunk for HashAggExec (#5244) 2018-01-06 10:21:52 +08:00
c19307c41c util, executor: refactor Chunk.AppendRow to handle virtual row (#5563) 2018-01-05 12:35:21 +08:00
019dbb7c9b executor: support Chunk for StreamAggExec (#5490) 2018-01-03 19:47:18 +08:00
f355030858 executor: remove the useless encode (#5366) 2017-12-11 18:20:54 +08:00
e9a52b530e plan, executor: add physical stream agg and remove aggType (#5274) 2017-12-04 14:33:57 +08:00
db270fc661 plan, executor: remvove hasAgg field. (#5265) 2017-11-30 11:13:14 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06: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
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00