aa431ee5e4
Merge remote-tracking branch 'origin/master' into shenli/group-concat
2016-01-22 20:03:46 +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
420c589718
*: Fix a bug in type inferrer
...
1. Add missing CaseExpr.
2. Add field type merge rules for hybrid field type expressions.
2016-01-18 22:56:24 +08:00
25d192ac62
*: Fix a bug in type inferrer
...
Missing VariableExpr
2016-01-17 17:38:20 +08:00
aa04996297
*: Address comments and fix a bug in show stmt
...
1. Address comments
2. Add charset info in show stmt result field. Workbench can run show stmt now.
2016-01-17 12:44:51 +08:00
cf19afc08b
*: Add test cases for type inferrer
2016-01-17 00:16:44 +08:00
d6f63b439a
*: Fix missing result type bug
2016-01-16 16:52:55 +08:00
6894ffab77
executor: tiny clean up.
2016-01-12 12:09:43 +08:00
c1f44b9881
Merge pull request #835 from pingcap/shenli/new-plan-reorg
...
*: Refactor new plan work flow
2016-01-11 18:31:43 +08:00
dd5e520157
*: Refactor new plan work flow
2016-01-11 17:22:51 +08:00
f996a0ce9c
*: Support count aggregate function in new plan and add unit tests.
2016-01-09 11:26:35 +08:00
108dc596e3
optimizer: address comment.
2015-12-18 13:49:45 +08:00
fbc938e7b6
optimizer: address comment
2015-12-17 14:56:11 +08:00
2b58058501
optmizer: address comment
2015-12-17 10:20:20 +08:00
2e1cf26a32
optimizer: typeInferrer supports more expression.
...
This is require for implementing prepared statement, because binary protocol depends more
on the result field type to decode value, we have to correctly set the result field type.
For statement like 'select ?', the type of the field is unknown until we execute the statement with argument,
If the field type of parameter marker `?' is not set properly, client will not be able to read the value.
2015-12-16 18:35:45 +08:00
4436aff284
ast: use IsConstant function
...
address comment
2015-12-14 10:37:34 +08:00
16757fd9b0
optimizer: add comment. use constant flag.
2015-12-14 10:37:34 +08:00
c970ff6d4d
ast: move flag setter to ast
2015-12-14 10:37:34 +08:00
429716fc37
optimizer, executor: address comment.
2015-12-07 16:16:34 +08:00