622f8fca2a
*: refactor, move index and column into table package. ( #1251 )
2016-05-24 11:08:15 +08:00
a98ecf8907
optimizer/plan: fix join panic ( #1246 )
...
* optimizer/plan: fix join panic
2016-05-23 15:37:10 +08:00
4f840a7754
*: Tiny clean up ( #1244 )
...
* *: Tiny clean up
* optimizer: update test
2016-05-20 12:59:01 +08:00
228f1d7026
support hash join in new plan ( #1234 )
...
* support hash join.
* fix some errors
* add test for predicate push down
* change substitutor...
* add bench mark
* change comment
* fix bug.
2016-05-19 15:43:16 +08:00
55ed68ca6c
add builtin-reverse func ( #1224 )
2016-05-13 20:53:55 +08:00
b32b26a40d
optimizer: Fix a bug in typeinferer ( #1214 )
...
* optimizer: Fix a bug in typeinferer
* address comment.
2016-05-10 10:33:22 +08:00
6efa22c6c7
executor: run table lookup tasks concurrently if there is no limit. ( #1206 )
...
* executor: run table lookup tasks concurrently.
* executor: set NoLimit and OutOfOrder property for IndexScan plan.
And set index concurrency to 10 if out of order.
2016-05-09 10:40:33 +08:00
d3a4c256a6
optimizer/plan: support index hint. ( #1192 )
...
support index hint.
2016-05-05 23:07:00 +08:00
5e3a3693c1
fix the prob when tablesource is a plan ( #1202 )
2016-05-05 16:20:07 +08:00
3bd7cf1822
executor, store/localstore: limit push down. ( #1197 )
...
* executor, store/localstore: limit push down.
2016-05-05 16:09:00 +08:00
9bf9ea1cb6
*: tiny clean up ( #1198 )
2016-05-05 10:10:22 +08:00
4eab06df0d
*: Fix issue 1135 ( #1188 )
...
* *: fix issue 1135
* tidb_server: set the logging level to error
2016-05-03 21:22:28 +08:00
dc885f4b9d
change plan to DAG mode ( #1180 )
...
* change plan to DAG mode
* add error and comment
2016-04-29 15:39:22 +08:00
42e4dfd428
forbid where condition to be pushed through outer join.
...
fix bug #1164 (#1167 )
2016-04-27 16:55:38 +08:00
f562161918
executor: make table lookup task size increasing. ( #1153 )
...
* executor: make table lookup task size increasing.
2016-04-26 15:55:37 +08:00
4ced2f7e10
*: implement some other builtin functions ( #1137 )
...
Support ISNULL(), LTRIM(), RTRIM(), LCASE() and UCASE().
Add alias for LOWER() and UPPER().
2016-04-23 21:04:26 +08:00
bbffc220ed
*: Tiny cleanup ( #1145 )
...
Fix typo
2016-04-23 10:27:13 +08:00
3b25069f84
evaluator: avoid evaluate independent subquery multiple times. ( #1144 )
...
* evaluator: avoid evaluate independent subquery multiple times.
* ast: rename UseOuterContext to Correlated.
2016-04-22 12:51:18 +08:00
d78e4044cc
*: fix misspells ( #1143 )
2016-04-22 11:30:37 +08:00
b51ab763df
plan: support limit pushdown ( #1105 )
...
* plan: support limit pushdown
2016-04-20 13:32:20 +08:00
c26dfd54e4
executor: Change interface to datum in executor. ( #1103 )
...
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
bfa3ed7a2d
*: Fix issue #1071 ( #1088 )
...
* *: fix issue#1071 and add tests
* util: use RoundFloat in the ToBool and add tests.
2016-04-14 16:56:24 +08:00
bdac8ecafa
Merge branch 'master' into hanfei
2016-04-12 14:17:33 +08:00
bebacf4f3a
evaluator: just one time eval ( #1062 )
...
* evaluator: just one time eval
2016-04-12 12:34:27 +08:00
3a92f567b9
executor: support limit sort
2016-04-12 12:09:25 +08:00
8d9bf2fd6d
executor: xapi support desc ordered table lookup. ( #1078 )
...
* executor: xapi support desc ordered table lookup.
* *: fix golint comment.
* executor: fix push order for multi-column index.
2016-04-10 18:01:49 +08:00
f5daa55eb6
executor: support xapi expression push down. ( #1069 )
...
* executor: support xapi expression push down.
* *: address comment.
* *: fix subquery select from same table.
* executor: add break when matched.
* store/localstore: address comment.
2016-04-09 17:03:29 +08:00
08034540f0
*: Add leak test
...
* *: add leak test and tiny clean up
* *: unify test format and add leak test
Conflicts:
store/localstore/compactor_test.go
mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
dc8bd3e337
*: optimization, do not read not referenced columns.
2016-04-06 13:29:21 +08:00
f8696d66c0
optimizer/plan: check join path subquery when attach condition.
...
https://github.com/pingcap/tidb/issues/1031
2016-04-01 13:30:46 +08:00
1fcaa42bb3
*: Fix ddl test and inadvertently modify column info.
2016-03-30 19:21:29 +08:00
1bd25a14d8
store/localstore: add local store xapi support.
2016-03-29 20:33:24 +08:00
15c0319294
*: fix issue 962 and handle other questions about auto increment.
2016-03-18 12:23:55 +08:00
953c66499a
optimizer: fix a bug in optimizeJoinOrder
...
Fix a bug in optimizeJoinOrder.
2016-03-16 15:43:26 +08:00
8c217762c0
optimizer: fix a bug in newInnerJoinPath
...
Fix a bug in newInnerJoinPath.
2016-03-16 10:26:19 +08:00
352c27829a
evaluator: move date_add and date_sub to buildin
...
Move the evaluate of ast function date_add and date_sub to builtin.
2016-03-10 19:04:33 +08:00
f4bf763d27
evaluator: move the evaluate of ast function trim to buildin
...
Move the evaluate of ast function trim to builtin.
2016-03-09 18:06:16 +08:00
02ccdc363a
evaluator: move the evaluate of ast function substring_index and locate to buildin
...
Move the evaluate of ast function substring_index and locate to buildin.
And Change some logic in locate function to make its behavior more similar with MySQL.
2016-03-08 17:30:43 +08:00
afd369e042
evaluator: move the evaluate of ast functions to buildin
...
Move the evaluate of ast functions extract, convert and substring to buildin.
2016-03-08 10:50:14 +08:00
ff94659286
*: replace interface{} with Datum in index range
2016-03-03 22:15:17 +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
f3576b6b8d
Merge branch 'master' into zimuxia/builtin-ctx
...
Conflicts:
expression/builtin/groupby.go
2016-03-02 12:12:29 +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
64912c8597
*: Implement perfschema with MemoryTable
2016-02-29 10:28:30 +08:00
1dbc9b16e6
Merge pull request #916 from pingcap/shenli/newplan-info
...
Implement Information_Schema with memory table
2016-02-25 11:47:23 +08:00
c60122c8ea
*: address comments
2016-02-24 20:39:08 +08:00
32c6ee2cbf
executor: support Explain
2016-02-24 17:46:59 +08:00