Skip to content

Graphflow for Rust #23

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

Open
wants to merge 25 commits into
base: dev
Choose a base branch
from
Open

Graphflow for Rust #23

wants to merge 25 commits into from

Conversation

yuchen-ecnu
Copy link
Collaborator

Primary work:Build a graphflow database for rust base on the storage of rust_graph_lib.
File structure:

  1. All codes are in folder multi_graph
  2. plan folder contains the operators and structure of query_plan
  3. planner folder contains the catalog for planner and query_planners
  4. query folder contains a structure for storing query_graphs
  5. runner folder contains the executor for catalog generation and optimizer execution
  6. utils folder contains some set utils.

Note:

  1. We used enumeration to implement inherit and Rc<RefCell<Op>> to implement list structure of operators.
  2. We used unsafe block to get operator‘s pointer to realize mutable reference under a mutable borrowed object. It may be safe in a single threaded environment now, but it also needs to be replaced by an appropriate solution.
  3. Query Planner and Optimizer Executor are all running under a single threaded environment.
  4. Graphflow for rust is only based on the storage of the current project.

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.

3 participants