45f9d6a00f
statistics: compute and store column order correlation with handle ( #9315 )
2019-02-27 11:32:00 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
edaec7bdaf
*: move Statement and RecordSet from ast to sqlexec package ( #7970 )
2018-10-21 13:21:26 +08:00
25118db843
*: move ast.NewValueExpr to standalone parser_driver package ( #7952 )
...
Make the ast package get rid of the dependency of types.Datum
2018-10-19 19:37:55 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
34d8fd8d8d
plan, statistics: extract histColl struct ( #6860 )
2018-07-13 14:42:07 +08:00
5c2d21eab4
*: remove function "NewChunk" ( #6524 )
2018-05-14 13:43:19 +08:00
12dbd32854
*: rename NewRange to Range. ( #6368 )
2018-04-25 13:13:04 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
905eda7ff5
stats: fix row estimation for pseudo unique key ( #6199 )
2018-04-02 20:27:58 +08:00
501de19821
stats: add average column size for the histogram ( #5974 )
2018-03-23 13:44:24 +08:00
22c3c98fb1
stats: fix estimation for pseudo equal row count ( #6106 )
2018-03-22 11:04:12 +08:00
631141b22c
*: remove Next function for RecordSet ( #6040 )
2018-03-13 21:05:10 +08:00
b6ad6a20a5
stats: fix building too many buckets ( #5978 )
2018-03-09 17:20:29 +08:00
913db283ea
*: remove SupportChunk() from interface ResultSet and RecordSet ( #5969 )
2018-03-07 19:36:15 +08:00
ce3bf40aac
stats, mocktikv: implement NextChunk for record set ( #5950 )
2018-03-06 13:08:50 +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
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
384a1080e7
stats: fix estimation in between row count ( #5682 )
2018-01-19 11:35:30 +08:00
4136b81c23
*: merge IntColumnRange with NewRange. ( #5591 )
2018-01-10 15:50:58 +08:00
db328586b6
stats: speed up row count estimation ( #5579 )
2018-01-09 15:37:49 +08:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +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
01f132ed39
stats: fix bug when estimating row count for outdated histograms ( #5552 )
2018-01-04 14:31:25 +08:00
835b764db3
stats: fix bug when build histograms for null json ( #5545 )
2018-01-04 11:15:32 +08:00
fa62e9fd01
*: merge ranger.IndexRange and ranger.ColumnRange. ( #5485 )
2017-12-26 16:08:36 +08:00
a2fb741191
*: Chunk add context parameter ( #5348 )
2017-12-09 11:23:40 +08:00
62b4b0f866
ranger, stats: remove Align method of IndexRange. ( #5240 )
2017-11-28 20:02:24 +08:00
ee0d3f37a2
types, ranger: move Range to package ranger. ( #5231 )
2017-11-27 18:17:29 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
a32b8dbcf6
*: use Chunk for TableReader. ( #5142 )
2017-11-21 10:08:50 +08:00
cf5a22b5fd
*: replace *ast.Row with types.Row ( #5124 )
2017-11-16 18:36:28 +08:00
ec9d1f0cc6
*: simplify RecordSet.Fields. ( #5068 )
2017-11-12 12:07:18 +08:00
30a080db5c
*: build and use count-min sketch ( #5042 )
2017-11-08 22:34:01 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
55403c8469
stats: fix estimation in index point query ( #4956 )
2017-10-31 00:47:00 +08:00
ae84a0a19f
stats: load column histograms by need ( #4847 )
2017-10-24 16:32:09 +08:00
a5266d6621
stats: fix bug when build histograms for columns ( #4757 )
2017-10-12 13:28:12 +08:00
f6ccdb75e3
stats: pre-calculate the lower and upper scalar ( #4623 )
2017-09-26 03:15:00 -05:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
7eefb404fd
stats: refine estimate in buckets ( #4601 )
2017-09-22 03:35:51 -05:00
31f7b9c3b6
*: implement analyze columns push down ( #4522 )
2017-09-18 14:21:10 +08:00
200fe45550
stats: prework for analyze push down ( #4478 )
2017-09-11 14:06:21 +08:00
0e438de9ff
*: move sample collector from executor to stats ( #4468 )
2017-09-08 12:21:10 +08:00
c6b4aa8fe5
plan, statistics: plan topn more precisely. ( #3902 )
2017-07-27 10:53:22 +08:00