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

[compiler] declarative Bindings #14496

Merged
merged 1 commit into from
May 2, 2024

Conversation

patrick-schultz
Copy link
Collaborator

@patrick-schultz patrick-schultz commented Apr 22, 2024

Refactors Bindings to return an object encoding the change to the environment (any new bindings, whether the agg/scan env is promoted, etc). This allows the deletion of SegregatedBindingEnv. Follow up work will use this to replace the other specializations of GenericBindingEnv, and to greatly simplify compiler passes, such as NormalizeNames and PruneDeadFields, which currently need to redundantly encode the binding structure of every node.

Copy link
Collaborator Author

patrick-schultz commented Apr 22, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @patrick-schultz and the rest of your teammates on Graphite Graphite

@patrick-schultz patrick-schultz force-pushed the ps-04-18-delete_old_binds_implementation branch from e5dbfd8 to 0e3fa29 Compare April 23, 2024 16:50
@patrick-schultz patrick-schultz force-pushed the ps-04-22-push_through_declarative_bindings branch from 555605d to 50b9a7d Compare April 23, 2024 16:50
@patrick-schultz patrick-schultz changed the base branch from ps-04-18-delete_old_binds_implementation to main April 23, 2024 19:53
@patrick-schultz patrick-schultz changed the base branch from main to ps-04-18-delete_old_binds_implementation April 24, 2024 13:53
@patrick-schultz patrick-schultz marked this pull request as ready for review April 24, 2024 14:12
@patrick-schultz patrick-schultz changed the title push through declarative bindings [compiler] declarative Bindings Apr 24, 2024
Copy link
Collaborator

@ehigham ehigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly splendid. One suggestion

hail/src/main/scala/is/hail/expr/ir/Env.scala Show resolved Hide resolved
hail/src/main/scala/is/hail/expr/ir/Env.scala Outdated Show resolved Hide resolved
@patrick-schultz patrick-schultz force-pushed the ps-04-18-delete_old_binds_implementation branch from 0e3fa29 to f99f199 Compare April 26, 2024 20:23
@patrick-schultz patrick-schultz force-pushed the ps-04-22-push_through_declarative_bindings branch 2 times, most recently from 21bbe7a to af1ac6e Compare April 26, 2024 20:59
@patrick-schultz patrick-schultz force-pushed the ps-04-18-delete_old_binds_implementation branch from f99f199 to d3760b9 Compare May 1, 2024 17:18
@patrick-schultz patrick-schultz force-pushed the ps-04-22-push_through_declarative_bindings branch from af1ac6e to 5a13d5a Compare May 1, 2024 17:18
@patrick-schultz patrick-schultz force-pushed the ps-04-18-delete_old_binds_implementation branch from d3760b9 to 04f9a52 Compare May 1, 2024 18:20
Base automatically changed from ps-04-18-delete_old_binds_implementation to main May 1, 2024 19:13
@patrick-schultz patrick-schultz force-pushed the ps-04-22-push_through_declarative_bindings branch from 5a13d5a to b63c0f5 Compare May 1, 2024 19:15
Copy link
Collaborator Author

Merge activity

  • May 1, 3:15 PM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.

@hail-ci-robot hail-ci-robot merged commit 7d75ba1 into main May 2, 2024
2 checks passed
@hail-ci-robot hail-ci-robot deleted the ps-04-22-push_through_declarative_bindings branch May 2, 2024 12:14
@ehigham ehigham restored the ps-04-22-push_through_declarative_bindings branch May 10, 2024 15:25
@ehigham ehigham deleted the ps-04-22-push_through_declarative_bindings branch May 10, 2024 15:25
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.

None yet

3 participants