This pr is mainly supplement statistics regression test. include the following: analyze stats p0 tests: 1. Universal analysis analyze stats p1 tests: 1. Universal analysis 2. Sampled analysis 3. Incremental analysis 4. Automatic analysis 5. Periodic analysis manage stats p0 tests: 1. Alter table stats 2. Show table stats 3. Alter column stats 4. Show column stats and histogram 5. Drop column stats 6. Drop expired stats TODO: 1. Supplement related documents 2. Optimize for unstable cases encountered during testing 3. Add other cases For pr related to statistics, should ensure that all of these cases pass!
15 lines
361 B
Plaintext
15 lines
361 B
Plaintext
-- This file is automatically generated. You should know what you did if you want to edit this
|
|
-- !sql_check_alter_tbl_stats --
|
|
12345678
|
|
|
|
-- !sql_check_show_tbl_stats --
|
|
10000 2023-06-23 22:30:29 2023-05-21 15:55:01
|
|
|
|
-- !sql_check_alter_col_stats --
|
|
c_varchar 87654321 54321 4321 abc bcd 0
|
|
|
|
-- !sql_check_show_col_stats --
|
|
|
|
-- !sql_check_show_col_histogram --
|
|
|