Skip to content
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

feat: 172 trace alignment #177

Merged
merged 5 commits into from
Jun 20, 2024
Merged

feat: 172 trace alignment #177

merged 5 commits into from
Jun 20, 2024

Conversation

DavePearce
Copy link
Collaborator

This partially moves the system towards using column indices rather than column names as the primary mechanism for identifying columns. The conversion is not complete however, as there are some components which are still using names. Unfortunately, this change has also highlighted some serious weaknesses in the current mechanism for lowering from high-level to lower-levels.

This updates the notion of a `Trace` and `Schema` to support "column
groups".  Furthermore, the concept of alignment between a `Trace` and
`Schema` is introduced.
This implements `AlignWith` on `Trace` which is used to align a trace
with a schema.
This puts through a partial (yet incomplete) switch from column names to
column indices for accessing columns at the AIR level.
This updates MIR to use direct column access.  The conversion is not
complete however, as there are some components which are still using
names.  Unfortunately, this change has also highlighted some serious
weaknesses in the current mechanism for lowering from high-level to
lower-levels.
@DavePearce DavePearce self-assigned this Jun 20, 2024
@DavePearce DavePearce merged commit e117dae into main Jun 20, 2024
2 checks passed
@DavePearce DavePearce deleted the 172-trace-alignment branch June 20, 2024 09:38
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.

1 participant