Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stats: fix flaky test TestDefaultColumns
TestDefaultColumns creates statistics on a table with 110 columns using the command `CREATE STATISTICS s FROM t.a`. It then checks that there are exactly 101 column statistics on table t.a with statistics_name = 's' (one stat for the primary index, plus 100 other column stats). However, this test may be flaky if automatic statistics are running, since each new automatic stat will cause other stats to be deleted. This commit fixes the problem by disabling automatic stats for this test, ensuring that the 101 column stats are not deleted after they have been created. Fixes #44208 Release note: None
- Loading branch information