Skip to content

Commit

Permalink
Refactor physical create_initial_plan to iteratively & concurrently c…
Browse files Browse the repository at this point in the history
…onstruct plan from the bottom up (#10023)

* Refactor physical create_initial_plan to construct bottom up

* Refactor node mapping into separate function

* Experiment with concurrent bottom up physical planning

* Refactoring and comments

* Remove unnecessary collect

* Preallocate vector capacity

* Remove children.clone()

* Introduce ChildrenContainer enum

* Formatting

* Fix case where extension may have 0 or 1 children

* Documentation and cleanup unwraps

* Minor changes

- Use tokio::Mutex in async environment
- Remove Option from enum, since it is only used for taking.

---------

Co-authored-by: metesynnada <[email protected]>
  • Loading branch information
Jefffrey and metesynnada authored Apr 16, 2024
1 parent 0573f78 commit b54adb3
Show file tree
Hide file tree
Showing 2 changed files with 1,056 additions and 772 deletions.
Loading

0 comments on commit b54adb3

Please sign in to comment.