8000 [Dev] Fix wrong result reported by Roaring Compression `FinalAnalyze` by Tishj · Pull Request #15677 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Dev] Fix wrong result reported by Roaring Compression FinalAnalyze #15677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

Tishj
Copy link
Contributor
@Tishj Tishj commented Jan 12, 2025

The metadata size was being calculated for all the groups in the segment, but we were adding this to the total space_used
We know split the space_used into data_size and metadata_size.

metadata_size gets recalculated with every flushed container, whereas data_size is added onto for every container.
We make use of the new logging system to test this! 🥳

@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 12, 2025 21:37
@Tishj Tishj marked this pull request as ready for review January 12, 2025 21:54
@Mytherin Mytherin merged commit 89bcc3e into duckdb:main Jan 13, 2025
48 of 49 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@Tishj
Copy link
Contributor Author
Tishj commented Jan 13, 2025

@Mytherin I wasnt sure if you'd agree with the use of the logger here, was expecting to have to take it out honestly

@Mytherin
Copy link
Collaborator

I think these kinds of things are exactly what the logger is for no?

@Tishj
Copy link
Contributor Author
Tishj commented Jan 13, 2025

I agree, but I don't think this behavior is quick to change, so perhaps doesn't require tests like this

@Mytherin
Copy link
Collaborator
Mytherin commented Jan 13, 2025

Oh yeah, I had not seen the logging checks in the tests. Agreed that should be removed.

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Feb 2, 2025
[Dev] Fix wrong result reported by Roaring Compression `FinalAnalyze` (duckdb/duckdb#15677)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Feb 2, 2025
[Dev] Fix wrong result reported by Roaring Compression `FinalAnalyze` (duckdb/duckdb#15677)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0