504a3c4a56
distsql: prework for analyze pushdown ( #4471 )
2017-09-08 11:32:04 +08:00
0b04d1c6c7
expression: rewrite builtin JSON functions under the new framework. ( #4367 )
2017-09-06 14:42:35 +08:00
9a2fa138f4
should use strings.Contains() instead of strings.Index() ( #4447 )
2017-09-06 12:59:30 +08:00
77d7ee841e
expression: enable json functions pushdown. ( #3793 )
2017-08-07 19:51:30 +08:00
8adac8fe6c
*: set low priority for expensive SQL and high priority for point get ( #3881 )
2017-08-02 13:53:36 +08:00
dff73cc6e4
*: Modify the Makefile for go vet ( #3900 )
2017-07-30 23:02:52 -05:00
584a0c32dc
model, distsql: add unit tests (exclude distsql/xeval) ( #3806 )
2017-07-20 23:16:20 +08:00
d8aaa222c8
*: make SET TRANSACTION ISOLATION LEVEL READ COMMITTED take effect ( #3619 )
2017-07-17 19:16:23 +08:00
247bf4afa2
expression, distsql: pushdown json_* functions. ( #3492 )
2017-06-20 17:23:07 +08:00
0d6490efc4
*: interpret timestamp datum based on session's time_zone ( #3167 )
...
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
a9a33b0209
fix typo ( #3179 )
2017-04-29 00:24:27 +08:00
350c79382a
*: support new table reader executor. ( #3133 )
2017-04-27 13:27:26 +08:00
59154905aa
*: rename table-driven tests name. ( #3081 )
2017-04-19 10:02:57 +08:00
79676b15f0
*: Support aggregation with DAG ( #2970 )
2017-04-06 14:56:47 +08:00
33cb0d6844
*: Update the row structure in executor ( #2989 )
2017-04-05 16:09:40 +08:00
61be27d4ac
*: Update the return value type of CutRow and CutIndexKey to [][]byte ( #2978 )
2017-04-01 18:53:52 +08:00
aa8298ef6e
distsql: return zeroLenData if data length is nil. ( #2965 )
...
TiKV doesn't return RowsData when RowsData length is 0, so we sliced a nil data when
data length is zero.
This can only be reproduced on TiKV, so no unit test is added.
2017-03-30 15:54:27 +08:00
78f7eab61d
*: refactor distsql and executor. ( #2942 )
2017-03-29 15:20:25 +08:00
0783456c78
*: do not use bytespool to allocate coprocessor response. ( #2891 )
2017-03-22 00:00:00 +08:00
294334fe0b
*: change standard "context" package to "golang.org/x/net/context" ( #2890 )
2017-03-20 13:03:51 +08:00
a4dde03983
distsql: avoid ReadAll allocation. ( #2813 )
2017-03-15 23:51:11 +08:00
94418b289f
*: add a ctx parameter to distsql.Select, kv.Client and tikv.Client ( #2699 )
2017-02-22 16:02:22 +08:00
4f95252ab0
*: add Cancel method for tidb.Session, Canceled for context.Context ( #2636 )
2017-02-22 12:56:20 +08:00
dd988d07d4
xeval: Use a short-cut way to way And/Or/Xor expr ( #2563 )
2017-02-03 13:26:56 +08:00
85e6afdfb6
distsql, store/tikv: refine metrics. ( #2460 )
2017-01-15 13:50:16 +08:00
fbffe2705f
distsql, executor: fix select channel bug that may discard error. ( #2226 )
...
When select receives two channels, both of them can return, which case will
be selected is undetermined.
Use one channel with resp and error to avoid this issue.
2016-12-12 16:59:13 +08:00
1b8051d3c5
*: set and use Flags to properly handle truncate error ( #2212 )
2016-12-12 11:45:58 +08:00
74a1c9935d
*: add StatementContext argument to functions. ( #2157 )
...
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
b19cc75a94
mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. ( #2082 )
...
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +08:00
7a8c3c32a7
distsql: push nullif down ( #2068 )
...
* distsql: support pushing nullif down
2016-11-23 20:46:54 +08:00
23136f8e0f
distsql: push ifnull down ( #2067 )
2016-11-23 17:35:30 +08:00
951f88294d
distsql: support pushing isnull down ( #2069 )
2016-11-23 11:35:53 +08:00
af514c8bda
support pushing if down to kv ( #1947 )
2016-11-07 22:26:22 +08:00
1c6c145f94
*: Set custom verbose flag to true ( #1956 )
...
* *: set custom verbose flag to true
* *: update .gitignore
2016-11-05 18:00:13 +08:00
d38cc3f534
support pushing bitwise operators and LogicXor down to kv ( #1846 )
2016-10-27 15:09:30 +08:00
1baeb5c7ed
support pushing coalesce and casewhen down to kv ( #1856 )
2016-10-26 13:15:07 +08:00
6ee738f3a3
distsql/xeval: split eval.go into some small files ( #1865 )
...
* fix a bug when 'WHER' contains bit operationsE
* spilt distsql/xeval/eval.go into some small files
2016-10-25 19:27:06 +08:00
b1d41ebbca
distsql: fix goroutine leak caused huge memory footprint ( #1834 )
2016-10-19 11:39:45 +08:00
95e49c03ea
push arithmetic operation down to kv ( #1817 )
2016-10-13 10:03:47 +08:00
ee9df58a80
distsql: add simple prometheus metric ( #1737 )
2016-09-20 10:39:12 +08:00
efa2db0b05
*: Rename xapi to distsql ( #1725 )
...
distsql is a more clear name.
2016-09-14 10:20:33 +08:00