Skip to content
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

Parquet Compaction: Use row group size bytes #1696

Merged

Conversation

joe-elliott
Copy link
Member

What this PR does:
Parquet compaction currently uses FlushSizeBytes but it makes more sense to use RowGroupSizeBytes in the storage block. Also uses the estimateProtoSize() method which should result in a better estimate over the len(lowestObject).

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott merged commit f7762e5 into grafana:main Aug 26, 2022
@amitsetty
Copy link
Contributor

amitsetty commented Sep 28, 2022

@joe-elliott seems that warnStorageTraceBackendS3 in config.go should also be changed :)

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.

3 participants