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

Common chunk reader #1594

Merged
merged 11 commits into from
Aug 3, 2023
Merged

Common chunk reader #1594

merged 11 commits into from
Aug 3, 2023

Conversation

ahrav
Copy link
Collaborator

@ahrav ahrav commented Aug 1, 2023

Description:

Create a common chunk reader that can be used when reading large amounts of data. Modify the existing chunker to use the same logic as the new chunker.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

Modified chunker code is ever so slightly more performant.
Screenshot 2023-08-02 at 6 39 43 AM

@ahrav ahrav requested a review from a team as a code owner August 1, 2023 22:04
@ahrav ahrav changed the title Common chunker Common chunk reader Aug 1, 2023
@ahrav ahrav mentioned this pull request Aug 2, 2023
2 tasks
pkg/sources/s3/s3.go Outdated Show resolved Hide resolved
@ahrav ahrav requested a review from a team as a code owner August 2, 2023 16:12
@ahrav ahrav requested a review from mcastorina August 2, 2023 16:12
Copy link
Collaborator

@mcastorina mcastorina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

pkg/sources/chunker.go Outdated Show resolved Hide resolved
@ahrav ahrav merged commit 5a5e8a6 into main Aug 3, 2023
7 of 8 checks passed
@ahrav ahrav deleted the common-chunker branch August 3, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants