Commit Graph

43 Commits

Author SHA1 Message Date
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
0ee40992c7 expression: support pushdown duration to tiflash (#28914) 2021-10-30 00:54:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
f50dd1f24c expression: Push down group concat to TiFlash (#24778) 2021-08-30 15:44:12 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
aceecf0732 executor: support new aggregate funtion APPROX_PERCENTILE (#19799)
Signed-off-by: leiysky <leiysky@outlook.com>
2020-09-24 15:59:38 +08:00
978370f7cb executor: add new agg function APPROX_COUNT_DISTINCT (#17175) 2020-06-18 22:00:14 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
a999ef6981 expression: support different expr push down for TiKV and TiFlash (#15174) 2020-03-11 16:16:03 +08:00
be128c6090 Revert "expression: open CAST push down switcher default (#12652)" (#13264)
This reverts commit a7854936bf6771f1716b11ab11775672de2e143c.
2019-11-08 15:52:25 +08:00
a7854936bf expression: open CAST push down switcher default (#12652)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-07 20:07:16 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
9c865a5f05 expression/aggregation: remove unused function in aggregation.Aggregation (#8608) 2019-06-05 08:59:05 +08:00
d9e02b76dd expression: remove redundant "errors.Trace()" in "expression" package (#8609) 2018-12-07 12:20:31 +08:00
1cc9d4d53c expression: split aggregation descriptor for reuse (#8559) 2018-12-04 16:22:15 +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
b3cda9a7dc expression: fix comments mistake (#7713) 2018-09-17 14:28:14 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +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
ab46569a50 executor: refine StreamAggExec when child is empty (#7002) 2018-07-11 14:33:48 +08:00
dd37138dc0 *: support parallel hash agg (#6658) 2018-06-29 22:59:47 +08:00
7a97f6ab72 expression: add Partial1Mode/Partial2Mode/DedupMode for AggFunctionMode (#6743) 2018-06-05 11:37:55 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
27dc8f3550 expression/agg: add ResetContext() for stream aggregation. (#6097) 2018-03-22 13:52:02 +08:00
0553deeb42 *:improve code readability and unified aliases (#5997) 2018-03-15 10:52:36 +08:00
d9e16e104f *: Cleanup code (#5852) 2018-02-12 23:17:03 +08:00
fc6376981d *: remove GetSessionVars() in expression evaluation (#5683) 2018-01-22 11:04:32 +08:00
2550969cae aggregation, plan: split the presentation and evaluation layers of aggregation functions (#5635) 2018-01-15 15:48:03 +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
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
6b6afb6c55 expression, plan: support builtin aggregation function 'bit_or' (#5145) 2017-12-19 05:51:08 -06:00
c46f289d5a expression, plan: support builtin aggregation function 'bit_xor' (#5090) 2017-12-05 19:32:27 +08:00
9ac1c08bf8 ast, plan, expression: support builtin aggregation function 'bit_and' (#5147) 2017-11-24 09:58:41 +08: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
ed7f68ca9b *: Add Row interface (#4859) 2017-10-23 11:36:28 +08:00
25b5a2ce18 *: Refactor aggregation (#4605)
Aggregation results were stored in aggregation functions, so one map is created for each function to store different groups’ results, which requires much memory.
The aggregation functions are refactored and are now stateless, and the maps are kept in executor (executor.HashAggExec and mocktikv.aggregateExec) so that only one map is needed to store all the functions’ results, which reduced the memory usage.
2017-09-22 19:41:01 +08:00
2762c44161 *: move aggregate functions to an individual package "aggregation" (#4549) 2017-09-18 15:07:35 +08:00