Skip to content

Conversation

Tmonster
Copy link
Contributor

@Tmonster Tmonster commented Feb 17, 2025

fixes https://github.com/duckdblabs/duckdb-internal/issues/4236
fixes #16258

Issue was that actual table samples with a reservoir capacity size < FIXED_SAMPLE_SIZE would never be vacuumed because of the conditional in the Vacuum() function. Now during vacuuming we run some extra checks to make sure we vacuum even the small samples (like 100 rows).

@JasonPunyon
Copy link
Contributor

Works on my machine. Thanks!

@duckdb-draftbot duckdb-draftbot marked this pull request as draft February 17, 2025 20:32
@Tmonster Tmonster marked this pull request as ready for review February 18, 2025 06:11
@duckdb-draftbot duckdb-draftbot marked this pull request as draft February 18, 2025 08:31
@Tmonster Tmonster marked this pull request as ready for review February 18, 2025 08:36
@duckdb-draftbot duckdb-draftbot marked this pull request as draft February 18, 2025 08:40
@Tmonster Tmonster marked this pull request as ready for review February 18, 2025 08:42
@Tmonster Tmonster marked this pull request as draft February 18, 2025 16:34
@Tmonster Tmonster marked this pull request as ready for review February 18, 2025 16:34
@duckdb-draftbot duckdb-draftbot marked this pull request as draft February 18, 2025 16:42
@Tmonster Tmonster marked this pull request as ready for review February 18, 2025 20:19
@duckdb-draftbot duckdb-draftbot marked this pull request as draft February 18, 2025 20:22
@Tmonster Tmonster marked this pull request as ready for review February 18, 2025 20:23
@Mytherin Mytherin merged commit cabb9db into duckdb:v1.2-histrionicus Feb 19, 2025
52 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Mar 7, 2025
Fix heap buffer oveflow sampling (duckdb/duckdb#16279)
[Fix] MinGW bundle static libs (duckdb/duckdb#16292)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants