Skip to content

persist: pass batches of records around in a columnar allocation#8551

Closed
danhhz wants to merge 1 commit intoMaterializeInc:mainfrom
danhhz:persist_columnar_writereq
Closed

persist: pass batches of records around in a columnar allocation#8551
danhhz wants to merge 1 commit intoMaterializeInc:mainfrom
danhhz:persist_columnar_writereq

Conversation

@danhhz
Copy link
Copy Markdown
Contributor

@danhhz danhhz commented Oct 5, 2021

WIP prototype for discussion

@danhhz danhhz requested a review from ruchirK October 5, 2021 16:12
Copy link
Copy Markdown
Contributor

@ruchirK ruchirK left a comment

Choose a reason for hiding this comment

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

Reviewed columnar.rs - this makes a ton of sense and helps me see the idea clearly. I'll play around with this for perf testing / noodle on making it consolidate-able tomorrow. Thanks for whipping it up!


pub fn finish(mut self) -> ColumnarRecords {
self.records.key_offsets.push(self.records.key_data.len());
self.records.val_offsets.push(self.records.val_data.len());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this is a good place to debug assert the ColumnarRecord validity postconditions

@danhhz
Copy link
Copy Markdown
Contributor Author

danhhz commented Nov 17, 2021

Replaced by #9165

@danhhz danhhz closed this Nov 17, 2021
@danhhz danhhz deleted the persist_columnar_writereq branch November 17, 2021 19:52
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