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

Update input_size_bytes, input_records, and input_records #242

Open
raghumdani opened this issue Oct 29, 2023 · 0 comments
Open

Update input_size_bytes, input_records, and input_records #242

raghumdani opened this issue Oct 29, 2023 · 0 comments

Comments

@raghumdani
Copy link
Collaborator

For rebase and backfill scenarios, we correctly calculate input stats. However, for incremental this will only represent incremental delta stats. Due to this we are having to hack around our way to determine actual data scanned. Updating these audits to allow calculating the total data scanned easy.

  1. For rebase, total data scanned (at rest size) is input_size_bytes - untouched_size_bytes.
  2. For backfill, total data scanned (at rest size) is input_size_bytes - untouched_size_bytes.
  3. For incremental, total_data_scanned (at rest size) is input_size_bytes - untouched_size_bytes.

Hence, we have a single math expression representing data scanned for all the different types of compaction.

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

No branches or pull requests

1 participant