alibaba / alibaba/GraphScope

refactor(interactive): Migrating Physical Layer into the new Calcite-based Compilation Stack.

Open
#3,561 1 comment 0 reactions 1 assignee Claimed by @BingqingLyu View on GitHub
stale
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**

The GIE IR layer is re-factored based on Calcite. However, the physical layer is still in the pre-IR route. Migrate it into the new Compilation Stack.

To migrate the physical layer:

1. The following operators need to be converted to Physical Plan (in proto)
Graph Operators:

- [X] Scan
- [X] IndexScan
- [X] EdgeExpand
- [X] GetV
- [X] PathExpand
- [X] ExpandDegree
- [X] PhysicalEdgeExpand
- [X] PhysicalGetV
- [x] CommonTableScan

Relational Operators:
- [X] Filter
- [X] Project
- [X] Aggregate
- [X] Dedup
- [X] Order
- [X] Join
- [x] Intersect (MultiJoin)
- [x] Union
- [ ] Apply

Others:
- [ ] Sink
- [X] SinkDefault
- [ ] SinkVineyard

2. The following physical rules should be implemented

- [X] ExpandGetVFusion
- [X] BasicExpandGetVFusion
- [X] PathbaseExpandGetVFusion
- [x] Repartition
- [x] PropertyFetch
- [x] PreCache (for edge properties)
- [x] LateProject (for vertex properties)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.