Commit Graph

27 Commits

Author SHA1 Message Date
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