Commit 96c2f62
authored
refactor: IR support for resolving multi-scope queries (#48)
Refactored a lot of the IR + helper functions to support multiple
scopes.
A table is represented properly with TableRef to ensure correct name
resolution, and the column is uniquely identified by (table_index,
column_index).
We also now convert to the DataFusion logical plan instead of the
ExecutionPlan. The next step is to use a user-defined node to add
implementation hints. This feels a more maintainable integration
compared to directly converting it into a physical plan.
---------
Signed-off-by: Yuchen Liang <yuchenl3@andrew.cmu.edu>1 parent 145c279 commit 96c2f62
122 files changed
Lines changed: 18032 additions & 17254 deletions
File tree
- cli
- src
- tests
- connectors/datafusion
- src
- planner
- tests
- optd
- catalog
- src
- tests
- core
- src
- ir
- column
- cost
- operator
- logical
- physical
- properties
- scalar
- types
- magic
- rules
- decorrelation
- testing
- implementations
- tests
- tests/sqlplannertest/tests
- basics
- tpch
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
0 commit comments