You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is intended to be where all discussions about Section 1.4 In-memory Storage happen (at least before the course is released). Please don't close this.
Activity
yyin-dev commentedon Sep 18, 2022
I think we should explain more in the doc about the following designs:
BitVec+Vec<T>forPrimitiveArray<T>instead ofVec<Option<T>>for memory efficiency;DataChunkcontains a number ofArray. ADataChunklogically represents a subset of rows in a table, so a table contains a number ofDataChunk.Also, I personally think we can provide more skeletons/guidance in the doc because this section requires writing much more code than previous ones:
ArrayandArrayBuilder;ArrayIter(e.g. lifetime);I suggest we create the following subtasks for this section:
PrimitiveArray(and builder),Utf8Array(and builder) andArrayImpl(and builder);ArrayIter, enablecollectforPrimitiveArrayandUtf8Array;DataChunk[-]1.4 In-memory Storage[/-][+]1.4 In-Memory Storage[/+]wangrunji0408 commentedon Sep 19, 2022
I just opened a draft PR #21 for this section. Feel free to directly commit to this branch!
yyin-dev commentedon Sep 19, 2022
Just quickly skimmed through your edits... Looks nice -- I am impressed by how fast you write ;)
wangrunji0408 commentedon Sep 19, 2022
No no no, it was written several months ago. 😅
It really takes time to draft these docs.
yyin-dev commentedon Sep 20, 2022
Just curious, did you consult any paper/textbook/article when writing those texts?
wangrunji0408 commentedon Sep 21, 2022
Not yet. Any recommendations? 👀