Commit Graph

139 Commits

Author SHA1 Message Date
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
c6680e999b *: update client-go and update mocktikv usages (#25911) 2021-07-09 10:57:32 +08:00
a9daa4a006 *: Fixed some linter check errors (#25608) 2021-06-26 10:05:23 +08:00
149e86ac4b *: introduce snapshot into analyze (#24575) 2021-06-25 15:17:24 +08:00
79db8cb3a3 executor: make analyze test be stable (#25547) 2021-06-18 16:02:38 +08:00
74055f7f0e statistics, executor: fix new collation for analyze version 2 (#25311) 2021-06-17 01:32:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
7e9c912b1c executor: temporarily skip some unstable test cases (#25335) 2021-06-10 18:12:29 +08:00
xhe
7d76700ed7 executor: avoid panic in the test (#25114) 2021-06-10 13:38:30 +08:00
eb91585d6d executor: temporarily skip some unstable test cases. (#25224)
- testResourceTagSuite.TestResourceGroupTag (#25189)
- testSuiteJoin1.TestIndexLookupJoin (#25191)
- testSuite1.TestAnalyzeIndex (#25188)
- testSuite1.TestAnalyzeIncremental (#25187)
- testVectorizeSuite2.TestVectorizedBuiltinTimeEvalOneVec (#25169)
2021-06-08 15:35:54 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
38e2faea90 executor: skip unstable test case TestMergeJoinInDisk and TestAnalyzeIndexExtractTopN. (#25170)
* executor: skip unstable test case TestMergeJoinInDisk.
2021-06-04 21:02:15 +08:00
2e083b40e5 statistics: support indexes containing virtual column for full sampling (#24999) 2021-06-04 16:18:28 +08:00
41e1e814ff executor: parallel some part of the sampling-based analyze (#24860) 2021-06-03 23:08:26 +08:00
a37a30b883 planner: try to fix some unstable test cases about partition table statistics (#25026) 2021-06-03 15:27:29 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
2df8c3bfd1 store/tikv: resolve ReplicaReadType dependencies (#24653) 2021-05-17 14:09:39 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
46aca1ad0c session, executor: skip some frequent unstable test cases (#24003) 2021-04-14 15:39:52 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
b983856ddf store/tikv:mv kv.ReplicaReadType to tikv (#23376) 2021-03-19 21:19:36 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
1e2f1c0b9d statistics: add tests for global-stats when add and delete a single partition (#23256) 2021-03-12 15:44:20 +08:00
22ff880fee planner: fix analyze clustered index table can't trigger index primary (#23254) 2021-03-12 07:45:35 +08:00
168ef8878d statistics: test the auto analyze and feedback for the global-level stats (#23181) 2021-03-10 19:36:55 +08:00
f33d02bdbf statistics: forbid getting global-stats through fast analyze and incremental analyze (#23066) 2021-03-05 11:24:54 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
a64d8860f1 statistics: forbid global-stats in stats-ver1 and make analyze options take effect in global-stats (#23050) 2021-03-03 11:58:54 +08:00
550ca8eaeb statistics: enables global-level stats to be generated in fast analyze mode (#22931) 2021-03-01 16:40:50 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
b74dfaf810 mockstore: move mockstore/cluster to tikv/mockstore/cluster (#22856)
Signed-off-by: disksing <i@disksing.com>
2021-02-22 15:42:16 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
44641c3282 planner: change the content of AnalyzeTableID to build global-stats (#22554) 2021-02-02 15:39:44 +08:00
3dd842f50a statistics: add bucket ndv for index histogram (#20580)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-13 18:24:21 +08:00
092a01a0a4 statistics, executor: refactor statistics on columns (#21817) 2020-12-24 13:56:30 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +08:00