Commit Graph

6107 Commits

Author SHA1 Message Date
de992eb570 expression: only do a shallow copy when evaluating a "Column" expression (#5542) 2018-01-06 12:24:30 +08:00
07dc46d3cb expression: refactor hybrid type expressions (#5550) 2018-01-06 11:04:50 +08:00
6943463c87 tidb-server:Remove the override of GOMAXPROCS (#5567)
From Go 1.5, the default setting of GOMAXPROCS is the number of
CPUs available, and we need 1.9 or above now. we might as well
remove this so people can set GOMAXPROCS to a custom value using
environment variables.
2018-01-06 10:49:41 +08:00
bc459c5261 executor: support Chunk for HashAggExec (#5244) 2018-01-06 10:21:52 +08:00
c7b13ef1af plan: refine code. (#5565) 2018-01-05 23:47:33 +08:00
c45111d9f6 stats: use more compact structure for histograms (#5539)
* stats: use more compact structure for histograms

* address comments

* address comments

* refine code

* address comment
2018-01-05 20:43:01 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
73e47e0e30 plan: refine the design of schema (#5541) 2018-01-05 12:54:24 +08:00
c19307c41c util, executor: refactor Chunk.AppendRow to handle virtual row (#5563) 2018-01-05 12:35:21 +08:00
97ae04a37c expression: consider time zone for builtin function curtime/sysdate/curdate (#5548) 2018-01-04 16:40:09 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
e8f3828752 *: fix bug when init HTTP stats handler (#5555) 2018-01-04 15:10:01 +08:00
ea3b49af4a store/tikv: implement coprocessor streaming in mocktikv (#5466) 2018-01-04 14:58:51 +08:00
01f132ed39 stats: fix bug when estimating row count for outdated histograms (#5552) 2018-01-04 14:31:25 +08:00
f744c777de parser: Support PACK_KEYS option in CreateTable statement (#5554)
Parse but ignore it.
2018-01-04 13:37:49 +08:00
76bce9d4cd docs: get table schema by "table_id" not "tableid" (#5527) 2018-01-04 11:49:31 +08:00
9863cc0f51 tidb: move loadCommonGlobalVariablesIfNeeded to Execute (#5547) 2018-01-04 11:32:57 +08:00
664ec4f182 *: checkout to that branch before pulling data from upstream (#5543) 2018-01-04 11:22:20 +08:00
835b764db3 stats: fix bug when build histograms for null json (#5545) 2018-01-04 11:15:32 +08:00
4d5dd323d9 *: the result of admin show ddl ... shows a job‘s start time (#5517) 2018-01-04 10:50:35 +08:00
019dbb7c9b executor: support Chunk for StreamAggExec (#5490) 2018-01-03 19:47:18 +08:00
ed7f400d9d plan: reuse expressionRewriter. (#5537) 2018-01-03 16:39:14 +08:00
526294e63b plan: check decimal|numeric flen or decimal is valid (#5530) 2018-01-03 16:03:21 +08:00
7c23a84a2c server, statistics: add dump_stats api for debug (#5534) 2018-01-03 14:47:56 +08:00
3e3b633963 distsql: let the coprocessor streaming API use StreamResponse (#5389) 2018-01-03 14:12:20 +08:00
b10a65dca1 plan: covert max/min to topN. (#5516) 2018-01-02 22:30:17 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08:00
132626e4f6 ddl: fix rawArgs is overwritten (#5531)
* ddl: fix rawArgs is overwritten
2018-01-02 17:03:58 +08:00
682bec01f6 meta: tiny clean up (#5538) 2018-01-02 15:58:52 +08:00
bb2440b636 store: enable builtin aggregation function 'bit_and', 'bit_or', 'bit_or' (#5533) 2018-01-02 02:09:25 +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
c970be55f8 ddl: Clean log (#5524)
The `\n` will make the result of `grep` hard to read.
2017-12-29 16:56:26 +08:00
f8177996e7 plan: refine code about maxonerow (#5501) 2017-12-29 14:48:01 +08:00
233ab3fd15 tidb: fix some case TiDB does not graceful shutdown expectly. (#5518) 2017-12-28 22:34:42 -06:00
47cde7e210 plan: add comments and tiny clean up (#5506) 2017-12-27 21:32:07 +08:00
b901867b83 util/ranger: change BuildRange to build column/index/table range (#5509) 2017-12-27 06:16:19 -06:00
0d96c12e60 kv, store: refine some comments (#5498) 2017-12-27 19:38:36 +08:00
93b52805c3 ast, executor: set Fields for SelectStmt in PrepareExec (#5504) 2017-12-27 17:16:49 +08:00
fc80a91ddf plan: remove useless aggregation function during "buildQuantifierPlan" (#5510) 2017-12-27 15:27:39 +08:00
427b02e00a ddl: support alter table auto_increment (#5472) 2017-12-27 13:41:33 +08:00
b0921f9d27 executor: implement NextChunk interface for UnionScanExec (#5432) 2017-12-26 20:08:11 +08:00
b543bcc7df executor: joinGenerator use chunk.Iterator (#5500)
So NestedLoopApply can use *chunk.List to generate results and reuse the memory.
2017-12-26 18:47:29 +08:00
80cf3ed3be kvencoder: add prepare sql encode support (#5505) 2017-12-26 18:32:29 +08:00
140c3d0739 executor: "InsertExec.NextChunk" should use function "getRowsSelectChunk" (#5493) 2017-12-26 18:24:41 +08:00
95a5c8ce5a expresion, executor: correct the type inference of function "sum" and "avg" (#5495) 2017-12-26 18:16:52 +08:00
c003acfe6e ddl: fix the case that fails to split a table (#5496) 2017-12-26 16:44:34 +08:00
fa62e9fd01 *: merge ranger.IndexRange and ranger.ColumnRange. (#5485) 2017-12-26 16:08:36 +08:00
76f9e3e03b statistics,expression: reduce allocation for DetachCondsForSelectivity, add a Filter function (#5482) 2017-12-26 15:01:28 +08:00
ccc10a56a6 executor: support Chunk for NestedLoopApply (#5475) 2017-12-26 13:37:19 +08:00