Commit Graph

176 Commits

Author SHA1 Message Date
6af4e4b160 statistics: fix merge global stats panic if the partition hasn't been analyzed before (#39123)
close pingcap/tidb#39121
2022-11-15 18:27:55 +08:00
70f3348ebf executor: support save partition stats in concurrency (#38239)
ref pingcap/tidb#35142
2022-10-25 15:57:55 +08:00
e8d265981a statistics: support merge global topn in concurrency (#38358)
ref pingcap/tidb#35142
2022-10-18 17:07:53 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
d10d254572 util: let TypeFloat should be decoded as Float32 in Chunk (#35978)
close pingcap/tidb#35910
2022-07-11 18:57:05 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
d3e9114f44 *: enable more flaky test, enable more shard_count and update bazel config (#35300)
ref pingcap/tidb#35247
2022-06-13 17:52:32 +08:00
85967fd3be *: implement chunk rpc encoding for unistore (#35114)
close pingcap/tidb#35113
2022-06-06 23:20:29 +08:00
bba94f97e7 statistics: fix incorrect ndv caused by missing fmsketch (#35082)
close pingcap/tidb#35044
2022-06-01 12:56:27 +08:00
b24ef9a9a7 *: fix panic when mergeGlobalStats for newly-added index or column (#35066)
close pingcap/tidb#35056
2022-05-31 16:10:27 +08:00
d3185cc796 executor, statistics: drop the samples whose length is too long (#32536)
close pingcap/tidb#31726, ref pingcap/tidb#32535
2022-05-19 14:26:39 +08:00
2cf1354f72 *: global stats consistency for dynamic prune (#34695)
close pingcap/tidb#34730
2022-05-19 11:34:38 +08:00
a58e519055 *: change mysql.analyze_jobs.instance column type (#34542)
close pingcap/tidb#34543
2022-05-11 11:14:34 +08:00
4b917c47ec util/codec: Fix analyze table for partitioned table with datetime column and version 1 (#34228) (#34364)
close pingcap/tidb#34228
2022-05-05 20:18:56 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
0f4706418e *: track cluster-level analyze jobs and make it persistent (#32215)
close pingcap/tidb#32403
2022-03-31 21:06:29 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
9a4ca3ca69 *: Remove deprecated streaming (#32765)
ref pingcap/tidb#32679
2022-03-11 03:15:50 +08:00
405ea4fb7b executor: add testcases for kill auto analyze (#32582)
close pingcap/tidb#32911
2022-03-09 21:57:49 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
fc6b939ecc planner: introduce historical meta stats auto-dump (#32041)
ref pingcap/tidb#18745
2022-03-03 19:05:47 +08:00
c14f4ad5fc *: remove skip test (#32383)
ref pingcap/tidb#31716
2022-02-16 17:07:39 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
4e6ae95705 executor: fix unstable test TestSavedAnalyzeOptions (#32017)
close pingcap/tidb#32018
2022-01-28 12:45:13 +08:00
6b85084bbb executor: fix DATA RACE in the TestAnalyzeParameters and other 3 test cases (#31931)
close pingcap/tidb#31930
2022-01-25 12:00:11 +08:00
20d7589bf3 *: fix data race in the TestAnalyzeIncremental (#31908)
close pingcap/tidb#31907
2022-01-24 12:31:47 +08:00
4bda04f15c planner: introduce historical statistic dumping triggered by analyze (#31032)
close pingcap/tidb#18745
2022-01-21 16:35:46 +08:00
c422a60c42 cmd/explain_test: migrate collation test and add more tests (#31626)
ref pingcap/tidb#31625
2022-01-18 17:29:44 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
8085c99ddf *: implement analyze predicate columns (#30816)
close pingcap/tidb#31102
2021-12-30 15:45:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016)
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
b8767880a3 testify: migrate test-infra to testify for analyze_test.go (#30640) 2021-12-13 21:22:35 +08:00
fb5eb1fa77 *: replace compareDatum by compare (#30048) 2021-11-23 15:57:50 +08:00
cf12389be1 executor: fix data race with RandSeed (#29965) 2021-11-22 11:37:49 +08:00
afa7dfb10f executor: also use approximate count from pd to decide the sample rate (#29230) 2021-11-01 11:08:51 +08:00
b1efb13296 *: implement analyze columns c1, ..., cn (#29024) 2021-10-29 11:28:49 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
d9bf3bf2d0 executor: make group_concat function consider the collation (#27490) 2021-08-24 13:00:04 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
f8d420b2cc executor: fix several analyze related unstable tests (#26875) 2021-08-04 15:19:08 +08:00
b7cde2493c planner: fix the unstable test case TestAnalyzeIncremental (#26848) 2021-08-03 18:23:07 +08:00
0f0b06ab53 planner: try to fix the unstable test TestAnalyzeIncremental (#26468) 2021-07-26 11:16:15 +08:00
95a40ac3d4 planner: fix the unstable unit test TestAnalyzeIncremental (#26460) 2021-07-23 14:16:14 +08:00
e4445994e0 *: fix ci lint (#26305) 2021-07-16 20:01:33 +08:00
a9adeb0232 *: temporarily skip some unstable test cases (#26268) 2021-07-16 11:19:33 +08:00