|
|
7aa2791f5b
|
*: Address comment
|
2016-01-23 13:36:45 +08:00 |
|
|
|
6ed674f2fe
|
*: Address comment
|
2016-01-23 13:30:06 +08:00 |
|
|
|
aa431ee5e4
|
Merge remote-tracking branch 'origin/master' into shenli/group-concat
|
2016-01-22 20:03:46 +08:00 |
|
|
|
3e8c167db4
|
*: Add unit test for evalAggAvg
|
2016-01-22 11:17:41 +08:00 |
|
|
|
a5e79c67b9
|
*: Support group_concat
|
2016-01-21 22:19:26 +08:00 |
|
|
|
8b1bed8e69
|
*: Support avg in new plan
|
2016-01-21 17:34:24 +08:00 |
|
|
|
44fd9d8269
|
Merge remote-tracking branch 'origin/master' into shenli/agg-max
Conflicts:
ast/functions.go
optimizer/evaluator/evaluator.go
optimizer/optimizer.go
optimizer/plan/planbuilder.go
optimizer/typeinferer.go
|
2016-01-21 15:06:53 +08:00 |
|
|
|
6560db433c
|
*: Support max/min
|
2016-01-21 09:24:42 +08:00 |
|
|
|
686dc63352
|
*: Support sum in new plan
|
2016-01-19 22:58:11 +08:00 |
|
|
|
207c7673b9
|
*: update error code.
|
2016-01-16 13:21:06 +08:00 |
|
|
|
b6a0f5b170
|
optimiser/evaluator: fix case expression evaluation.
|
2016-01-15 13:37:49 +08:00 |
|
|
|
c1e8a31028
|
optimizer: tiny clean up.
|
2016-01-12 17:47:26 +08:00 |
|
|
|
6894ffab77
|
executor: tiny clean up.
|
2016-01-12 12:09:43 +08:00 |
|
|
|
f996a0ce9c
|
*: Support count aggregate function in new plan and add unit tests.
|
2016-01-09 11:26:35 +08:00 |
|
|
|
fcbd15dae8
|
optimizer: address comment.
|
2016-01-04 10:34:41 +08:00 |
|
|
|
a8baf4fc02
|
optimizer: clean up again.
|
2016-01-03 12:40:23 +08:00 |
|
|
|
d1f0c76952
|
optimizer: tiny clean up.
|
2016-01-03 12:36:18 +08:00 |
|
|
|
e45c31b89d
|
Merge pull request #754 from hhkbp2/complete-adddate,subdate-functions
add ast evaluation for date arith
|
2015-12-29 14:35:00 +08:00 |
|
|
|
405e6c57d4
|
add ast evaluation for date arith
|
2015-12-29 11:42:02 +08:00 |
|
|
|
0b99e0440b
|
*: Move variable errors to sessionctx/variable
|
2015-12-24 15:27:41 +08:00 |
|
|
|
631045ce5f
|
parser: address comment.
|
2015-12-24 10:47:37 +08:00 |
|
|
|
bfd188d844
|
parser: remove YYParse function, use Parse and ParseOne instead.
|
2015-12-23 18:25:28 +08:00 |
|
|
|
4f551e17da
|
evaluator: Check return values from valid call expressions in funcCall test.
|
2015-12-21 15:13:09 +08:00 |
|
|
|
55d12c184f
|
evaluator: Refine tests for funcCall.
1. Remove the fake builtin.Func.
2. Fix one bug in handling unlimited arguments upper bound.
|
2015-12-21 14:45:51 +08:00 |
|
|
|
a5dbd000dc
|
evaluator: Add tests for funcCall.
|
2015-12-21 11:45:44 +08:00 |
|
|
|
a5b5fd67fa
|
evaluator: Check function call min and max arguments in new evaluator.
For github issue #758.
|
2015-12-20 23:17:17 +08:00 |
|
|
|
1e1ef8a0bd
|
*: Support connection_id()
Fix: https://github.com/pingcap/tidb/issues/715
|
2015-12-14 14:40:55 +08:00 |
|
|
|
4436aff284
|
ast: use IsConstant function
address comment
|
2015-12-14 10:37:34 +08:00 |
|
|
|
6ab3b3cd6b
|
evaluator: use FlagConstant
|
2015-12-14 10:37:34 +08:00 |
|
|
|
c970ff6d4d
|
ast: move flag setter to ast
|
2015-12-14 10:37:34 +08:00 |
|
|
|
30ee5fd354
|
evaluator: funcCast set value directly without types.DataItem.
Other expression check `expr.GetValue() == nil` returns false when we wrap nil in DataItem.
|
2015-12-11 12:21:22 +08:00 |
|
|
|
2050c8dceb
|
evaluator: fix unary evaluation
When unary operation is evaluated more than once, the old not nil value is not set when new value is evaluated to nil.
|
2015-12-10 13:15:52 +08:00 |
|
|
|
c674915062
|
evaluator, plan: address comment.
|
2015-12-09 15:13:45 +08:00 |
|
|
|
4f565159d0
|
optimizer, executor: remove panic and Fatal, returns error instead.
|
2015-12-09 14:53:41 +08:00 |
|
|
|
d5f82288d8
|
evaluator: use terror
|
2015-12-09 12:38:29 +08:00 |
|
|
|
77443be4e5
|
optimizer, executor, evaluator: address comment.
|
2015-12-07 19:56:39 +08:00 |
|
|
|
949d92d6df
|
optimizer, executor: replace panic with log.Fatal
|
2015-12-07 18:39:51 +08:00 |
|
|
|
429716fc37
|
optimizer, executor: address comment.
|
2015-12-07 16:16:34 +08:00 |
|
|
|
9448297dd3
|
optimizer: rename binder to resolver. address comment.
|
2015-12-07 11:40:24 +08:00 |
|
|
|
44e2c7c8df
|
optimizer/evaluator: add more tests.
|
2015-12-02 13:17:28 +08:00 |
|
|
|
01d33e9261
|
evaluator: add tests.
|
2015-11-30 20:58:50 +08:00 |
|
|
|
19d52ba0e9
|
optimizer, executor: pass test.
|
2015-11-26 21:17:44 +08:00 |
|
|
|
cf9a23d23b
|
optimizer, executor: build ranges for more expression, pass more tests.
|
2015-11-26 20:02:28 +08:00 |
|
|
|
96ff5b0e25
|
executor: use index.
|
2015-11-24 14:16:27 +08:00 |
|