Skip to content

1.4 In-Memory Storage #20

Open
Open

Description

@yyin-dev

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

  1. yyin-dev commented on Sep 18, 2022

    @yyin-dev
    CollaboratorAuthor

    I think we should explain more in the doc about the following designs:

    • Use BitVec + Vec<T> for PrimitiveArray<T> instead of Vec<Option<T>> for memory efficiency;
    • A DataChunk contains a number of Array. A DataChunk logically represents a subset of rows in a table, so a table contains a number of DataChunk.

    Also, I personally think we can provide more skeletons/guidance in the doc because this section requires writing much more code than previous ones:

    • Provide skeleton code for Array and ArrayBuilder;
    • More guidance on implementing ArrayIter (e.g. lifetime);
    • Provide basic test cases.

    I suggest we create the following subtasks for this section:

    • Implement PrimitiveArray (and builder), Utf8Array (and builder) and ArrayImpl (and builder);
    • Implement ArrayIter, enable collect for PrimitiveArray and Utf8Array;
    • Implement DataChunk
  2. changed the title [-]1.4 In-memory Storage[/-] [+]1.4 In-Memory Storage[/+] on Sep 18, 2022
  3. linked a pull request that will close this issuedoc: 01-04 In-Memory Storage #21on Sep 19, 2022
  4. wangrunji0408 commented on Sep 19, 2022

    @wangrunji0408
    Member

    I just opened a draft PR #21 for this section. Feel free to directly commit to this branch!

  5. yyin-dev commented on Sep 19, 2022

    @yyin-dev
    CollaboratorAuthor

    I just opened a draft PR #21 for this section. Feel free to directly commit to this branch!

    Just quickly skimmed through your edits... Looks nice -- I am impressed by how fast you write ;)

  6. wangrunji0408 commented on Sep 19, 2022

    @wangrunji0408
    Member

    I am impressed by how fast you write ;)

    No no no, it was written several months ago. 😅

    It really takes time to draft these docs.

  7. yyin-dev commented on Sep 20, 2022

    @yyin-dev
    CollaboratorAuthor

    No no no, it was written several months ago. 😅

    It really takes time to draft these docs.

    Just curious, did you consult any paper/textbook/article when writing those texts?

  8. wangrunji0408 commented on Sep 21, 2022

    @wangrunji0408
    Member

    Not yet. Any recommendations? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions