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

feat: tidy up sys event store #25610

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

praveen-influx
Copy link
Contributor

  • This commit allows RecordBatch to be created directly from sys event store. It means we can avoid cloning events and avoids creating intermediate vec. To achieve that, there's a new method to_record_batch that's been added with a trait bound ToRecordBatch that events are expected to implement.

closes: #25609

@praveen-influx praveen-influx force-pushed the praveen/sys-events-tidy-up branch 2 times, most recently from 036e92d to 6998d64 Compare December 3, 2024 12:04
@praveen-influx praveen-influx force-pushed the praveen/sys-events-tidy-up branch 2 times, most recently from 76d2252 to 935ef94 Compare December 3, 2024 14:23
- This commit allows `RecordBatch` to be created directly from event
  store. It means we can avoid cloning events and avoids creating
  intermediate vec. To achieve that, there's a new method
  `as_record_batch` that's been added with a trait bound `ToRecordBatch`
  that events are expected to implement.
- Minor tidy ups (renaming methods) and added test

closes: #25609
@praveen-influx praveen-influx force-pushed the praveen/sys-events-tidy-up branch from 935ef94 to 87f14ed Compare December 3, 2024 14:26
@praveen-influx praveen-influx merged commit f23aa0d into main Dec 3, 2024
13 checks passed
@hiltontj hiltontj added the v3 label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow creating RecordBatch directly from sys events store
2 participants