6e878144e5
support UPDATE and DELETE in new plan ( #1582 )
2016-08-19 14:35:39 +08:00
acbfe2394f
add arguments buffer to avoid making new slice frequently. ( #1539 )
2016-08-02 17:20:11 +08:00
da6ceb949b
add constant folding ( #1534 )
2016-08-02 15:45:58 +08:00
9574322317
support join reorder. ( #1522 )
2016-08-01 15:57:47 +08:00
2b4acb0caf
support cbo ( #1498 )
2016-07-27 11:10:52 +08:00
f5a6c962b5
*: Change ctx.Value from interface{} to Datum ( #1494 )
2016-07-25 10:42:54 +08:00
432df5458b
*: aggregate related code cleanup ( #1488 )
2016-07-23 14:29:52 +08:00
c66576ba05
Support aggregate push down in new executor ( #1483 )
...
Support aggregate push down for NewXSeelctTableExec.
2016-07-22 13:15:41 +08:00
883021fbb4
*: tiny clean up ( #1425 )
2016-07-11 18:03:59 +08:00
e35c7ce6eb
support nested subquery and fix bug of setting variable ( #1412 )
2016-07-09 20:25:51 +08:00
257df744bb
fix bugs of insert and subquery ( #1406 )
2016-07-07 17:12:14 +08:00
6ab4cc5877
fix a lot of bugs about agg and having. ( #1395 )
2016-07-06 15:49:53 +08:00
452637dccb
*: Convert RegexpExpr to ScalarFuntion and check the arguments length of builtin functions ( #1388 )
...
* *: convert RegexpExpr to ScalarFuntion and add check arguments length
2016-07-05 12:37:23 +08:00
c72917d6e8
support cast and change the name of expression select field. ( #1373 )
2016-07-04 14:27:07 +08:00
01a42dfb8c
*: Convert expression to pbExpr and implement builtin function ( #1358 )
...
* *: convert expression to pbExpr and implement the builtin function
2016-06-30 17:16:48 +08:00
a75f677900
support set variable, prepare and insert stmt. ( #1359 )
2016-06-29 18:26:47 +08:00
0eac76eb22
support row expression. ( #1349 )
...
support row function and row expression.
2016-06-27 16:03:51 +08:00
af7f2a2e89
correct "order by", "having", "group by"s' resolving rules. ( #1326 )
...
resolve order by/ having/ group by correctly.
2016-06-22 11:58:06 +08:00
e051784728
*: Tiny clean up ( #1334 )
...
* *: tiny clean up
2016-06-22 10:59:51 +08:00
5c886455a0
Fix go vet shadow ( #1330 )
...
* Fix go vet shadow
2016-06-18 12:36:17 +08:00
a4ce312d4b
*: Push down where in newTableScan ( #1320 )
...
* *: tiny clean up
* *: push down where
2016-06-15 19:48:08 +08:00
921677399e
Hanfei/apply ( #1318 )
...
add apply operator.
2016-06-15 15:23:05 +08:00
99e3071c42
move position of rewriter. ( #1310 )
2016-06-12 14:43:58 +08:00
241bd7754c
*: rename aggrMap to aggMap and handle error ( #1309 )
2016-06-12 13:52:17 +08:00
9ec42dbc4c
*: Tiny clean up ( #1303 )
...
* *: rename DbName to DBName and fix plan shadows.
2016-06-08 16:33:41 +08:00
e3597b6548
Add Datum.IsNull() fucntion ( #1298 )
...
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
10359b0052
rewrite executor. ( #1294 )
...
* rewrite executor.
2016-06-07 20:32:15 +08:00
f9c31d9130
Hanfei/rewrite plan ( #1272 )
2016-06-01 13:12:55 +08:00
043ebd5ec8
*: Refactor package organization
...
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
766365ea06
expression: update error log and remove ExprEvalArgCtx
2016-03-02 13:15:24 +08:00
f3576b6b8d
Merge branch 'master' into zimuxia/builtin-ctx
...
Conflicts:
expression/builtin/groupby.go
2016-03-02 12:12:29 +08:00
5974e84b1b
expression: context.Context instead of map[interface{}]interface{}
2016-03-02 11:46:15 +08:00
192b6bf5be
Merge branch 'master' into coocood/remove-aggr-builtin
2016-03-02 11:07:23 +08:00
28a5befd7f
expression/builtin: remove obsolete aggregate function.
2016-03-02 10:58:34 +08:00
e71e25e31c
util/types: new Compare implementation with Datum.
2016-03-02 10:22:21 +08:00
d9f98132ee
ast: introduce 'Datum'
...
Datum is a value box intended to replace 'interface{}' for better performance and easier to use.
2016-03-01 10:54:59 +08:00
38f275319d
Merge remote-tracking branch 'origin/master' into zxylvlp/addAStrcmpBuildin
2016-02-29 15:48:06 +08:00
431879e287
buildinFunc: add a strcmp function
...
Add a function needed in https://github.com/pingcap/tidb/issues/310 .
2016-02-29 15:43:56 +08:00
68eb8e567e
*: remove old code
2016-02-29 11:40:32 +08:00
f0326086aa
parser/coldef: remove dependency on expression.
2016-02-17 14:12:08 +08:00
2c5bfaebb0
builtin: add version()
2016-01-10 14:46:47 +00:00
b607c8504b
builtin: add time function dayname()
...
add builtin time function dayname()
2016-01-06 20:11:31 +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
cfe157f93f
*: Unify session ID and connection ID
...
This is for Github issue #722 .
1. CONNECTION_ID now can get the real id generate at server side (rather than a session id).
2. Keep session id generation untouched to ensure minimal interface change.
2015-12-21 23:03:39 +08:00
9b1a047f5b
Merge pull request #756 from sllt/master
...
parser: support built-in function pow
2015-12-21 16:26:44 +08:00
33d71ad3b0
Merge remote-tracking branch 'remotes/master'
2015-12-21 13:39:49 +08:00
5d9e7bb4fc
fix built-in/pow test
2015-12-21 13:30:01 +08:00
0539de5252
built-in/pow add test in parser and delete bultinPower function
2015-12-21 13:02:58 +08:00