Commit Graph

991 Commits

Author SHA1 Message Date
aa76a6eeba plan, executor: correlated column can be pushed down. (#6403) 2018-05-07 19:43:02 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
9fc856297c expression: support simple expression rewriter (#6432) 2018-05-04 09:20:21 +08:00
5725b43c83 *: remove useless ExprType (#6313) 2018-04-18 18:56:43 +08:00
ffd47ec3b5 expression: refactor scalarFuncToPBExpr (#6290) 2018-04-18 13:33:48 +08:00
860e808e07 expression: remove mockKVClient (#6299) 2018-04-17 16:11:58 +08:00
f21483e6ed expression: add Clone() for builtinFunc 2018-04-11 10:00:19 -05:00
922ba2464c *: make explicit timestamp on (#6238) 2018-04-11 15:36:26 +08:00
17c737b250 expression: optimize the Clone of Constant. (#6262) 2018-04-10 19:47:24 +08:00
76932395c3 expression: make inferring of decimal for unix_timestamp be more consistent with MySQL (#6233) 2018-04-09 11:40:24 +08:00
313d9d3660 parser: fix the result of cast (0x10 as binary(2)). (#6211) 2018-04-03 21:44:36 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
4f991afb10 *: session context passed to newBaseBuiltinFuncWithTp should not be nil (#6178) 2018-03-29 16:12:36 +08:00
12cc2dbb20 parser,expression: decimal support for interval (#6143) 2018-03-27 03:08:56 -05:00
6cb61dda15 expression: fix type infer for binary literal (#6151) 2018-03-27 11:30:00 +08:00
faeaccc35e executor:Improve the aesthetics of code review (#6138) 2018-03-26 22:19:49 +08:00
5445e17fac *: fix in-compatible behavior when modify value from Navicat GUI (#6105) 2018-03-22 15:38:27 +08:00
27dc8f3550 expression/agg: add ResetContext() for stream aggregation. (#6097) 2018-03-22 13:52:02 +08:00
d68bf86896 *: remove useless code (#5343) 2018-03-21 10:59:23 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
ec78f8bea3 expression/agg: add unit-test. (#6074) 2018-03-19 18:57:28 +08:00
eec1c524dc util: refine Row.GetDatum when tp is MyDecimal (#6087) 2018-03-19 17:11:07 +08:00
11616c46c0 types,expression: make 'invalid time format' error log more friendly (#6069) 2018-03-17 06:40:37 -05:00
e77da7a1a7 expression: add unsigned flag when convert uintPBConstant to Expression (#6071) 2018-03-16 13:04:01 +08:00
9dcab918b6 expression/agg: remove useless code. (#6075) 2018-03-16 12:54:54 +08:00
8510bb7671 store/tikv: support retry and timeout for coprocessor streaming API (#5965) 2018-03-15 22:18:44 -05:00
0553deeb42 *:improve code readability and unified aliases (#5997) 2018-03-15 10:52:36 +08:00
337a45b961 expression: fix comparation between uint and int (#6028) 2018-03-13 14:38:04 +08:00
ae4300d03b expression: Add deprecation warning for builtin function PASSWORD (#6000) 2018-03-13 12:37:04 +08:00
a239b772ba expression: fix test cases in TestWrapWithCastAsTime and TestCompareBuiltin (#6024)
Those test cases use wrong timezone, they will fail when TimeZone set to Tokyo
and time.Now() is 01:04
2018-03-12 13:33:07 +08:00
9a3463fd81 distsql, mocktikv: handle warnings returned from tikv/mocktikv (#5906) 2018-03-06 13:20:27 +08:00
dc2bbc8c4f expression: correct the behavior of bit aggregate function. (#5954) 2018-03-05 21:44:01 +08:00
45dc066401 codec: improve the performance of decoding decimal (#5921) 2018-02-28 20:21:31 +08:00
c16855d3ec expression: avoid using datum in HashCode(). (#5911) 2018-02-27 18:58:45 +08:00
cd63332ebf expression, plan: extract the same part from DNF's leaves. (#5831) 2018-02-26 16:03:05 +08:00
ba04a342c5 *:fix some ineffassign to improve GoReport Result (#5901) 2018-02-25 14:32:20 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
d9e16e104f *: Cleanup code (#5852) 2018-02-12 23:17:03 +08:00
0dc2d902ce expression: fix a test case that use inconsistent time zone (#5872)
In TestCastFuncSig function, the test use Local time zone,
but the result expect UTC
2018-02-12 13:15:53 +08:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
f6c9f43b4c expression: add benchmarks about expression executor (#5760) 2018-02-08 14:57:05 +08:00
51c47a4ddc plan: The stats of some table is outdated, we use pseudo to estimate. (#5802) 2018-02-08 11:22:21 +08:00
5be134e38f plan, expression: refine explain count info (#5810) 2018-02-07 14:45:08 +08:00
26d4887c55 plan: fix a bug when alter table drop column meets insert (#5790) 2018-02-06 18:35:31 +08:00
4e554703fb plan: fix bug of stats count (#5775) 2018-02-06 13:16:50 +08:00
469b246965 types,expression: make ConvertToTime unaffected by location (#5741) 2018-02-01 06:22:59 -06:00
d95f96505a *: refine join result generator to return MaxChunkSize chunk (#5715) 2018-01-31 20:00:59 +08:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00