9fbf8a6637
stats: dynamically update the average column size ( #6170 )
2018-04-13 16:31:43 +08:00
1b3440cc85
types: fix unsigned decimal ( #6104 )
2018-03-31 16:53:14 +08:00
9ca8689582
types: handle truncate error in BinaryLiteral.ToInt ( #6163 )
...
Truncate error make be treated as warning, we should handle it in `BinaryLiteral.ToInt`.
And compare BinaryLiteral directly instead of converting to uint64 because that the compare function doesn't have statement context.
2018-03-28 14:44:53 +08:00
5445e17fac
*: fix in-compatible behavior when modify value from Navicat GUI ( #6105 )
2018-03-22 15:38:27 +08:00
4241d70646
types: support converting json to float64 ( #6081 )
2018-03-22 13:37:53 +08:00
d68bf86896
*: remove useless code ( #5343 )
2018-03-21 10:59:23 +08:00
11616c46c0
types,expression: make 'invalid time format' error log more friendly ( #6069 )
2018-03-17 06:40:37 -05:00
45dc066401
codec: improve the performance of decoding decimal ( #5921 )
2018-02-28 20:21:31 +08:00
eaef520634
types,executor: treat decimal truncate as warning in update ( #5801 )
2018-02-08 15:55:52 +08:00
469b246965
types,expression: make ConvertToTime unaffected by location ( #5741 )
2018-02-01 06:22:59 -06:00
88b8740724
*: avoid the generation of mysql.TypeNewDate ( #5705 )
2018-01-23 21:41:02 +08:00
236e50a493
format error message when meet datum conv failure ( #5689 )
2018-01-22 12:18:54 +08:00
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +08:00
5db9ac2506
types,util/chunk: refactor Time for Chunk. ( #5571 )
2018-01-09 10:12:27 +08:00
eddff3429a
*: importing data reduce memory allocations. ( #5549 )
2018-01-07 12:48:07 +08:00
bc459c5261
executor: support Chunk for HashAggExec ( #5244 )
2018-01-06 10:21:52 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
526294e63b
plan: check decimal|numeric flen or decimal is valid ( #5530 )
2018-01-03 16:03:21 +08:00
fea4b02ff3
expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1 ( #5523 )
...
* expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1
2017-12-31 12:23:04 +08:00
b1e1a26151
types: refine Time type ( #5521 )
...
remove redundant fields, makes it easier to fit in Chunk.
2017-12-30 19:30:35 +08:00
04a91532b8
expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum' ( #5292 )
...
* expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum'
* Code format refine
* Code format refine
* Fix frac for avg
2017-12-25 21:15:37 +08:00
544956bd54
types/json: remove old JSON type. ( #5468 )
2017-12-22 16:03:18 +08:00
970e5b5684
*: replace JSON with BinaryJSON ( #5460 )
2017-12-21 15:20:17 +08:00
c9dc477e40
types/json: add binary json functions ( #5428 )
2017-12-20 15:27:18 +08:00
fed3ffac0b
types,statistics: don't use time.Local timezone in time Sub ( #5424 )
2017-12-19 18:22:31 +08:00
8b4f84347b
types/json: support binary json type. ( #5404 )
2017-12-15 20:14:32 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
f3b5975e4a
AST: add Format interface on ExprNode for convert AST back to string ( #5299 )
2017-12-06 19:25:16 +08:00
5155361045
executor: support Chunk for UnionExec ( #5229 )
2017-12-05 16:53:34 +08:00
c790b50957
types: fix large float64 to bigint ( #5247 )
2017-11-29 15:56:13 +08:00
ee0d3f37a2
types, ranger: move Range to package ranger. ( #5231 )
2017-11-27 18:17:29 +08:00
69352a0a29
types: fix parse duration when fsp round overflow 60 seconds ( #5199 )
2017-11-23 19:23:22 +08:00
9921f41491
types: add overflow truncate when convert str to float ( #5130 )
2017-11-22 15:52:23 +08:00
8892bdf373
types: fix invalid time cast bug ( #4338 )
2017-11-22 15:24:56 +08:00
a05c8b02d9
types: Make vet happy ( #5187 )
2017-11-22 14:42:26 +08:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
ca5d33ddac
ranger: check MaxInt64 and MinInt64 to avoid overflow. ( #5136 )
...
* ranger: check MaxInt64 and MinInt64 to avoid overflow.
2017-11-18 00:10:14 -06:00
81652dbeef
*: remove returned value isNull in Row methods. ( #5131 )
2017-11-17 11:12:41 +08:00
e362f1ed56
types: add deepcopy for update operation ( #5098 )
2017-11-15 14:46:24 +08:00
8fd5c7de6e
server: use types.Row to write result set. ( #5056 )
2017-11-10 15:41:02 +08:00
1aa2a69f92
expression: remove type assertion on types.DatumRow. ( #5005 )
2017-11-07 14:17:53 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00