Skip to content

Conversation

kaspersv
Copy link
Contributor

@kaspersv kaspersv commented Mar 7, 2023

This PR remove revFlowAlias and revFlowApAlias predicates from the dataflow library. The revFlowAlias and revFlowApAlias predicates were introduced to prevent the compiler from joining on constant node columns. With recent changes to the join ordering heuristic to avoid joins on constant columns, these alias predicates are no longer needed.

@kaspersv kaspersv force-pushed the kaspersv/dataflow-remove-alias-preds branch from 7694b2f to 9630feb Compare March 20, 2023 08:04
@kaspersv kaspersv requested a review from aschackmull March 20, 2023 11:24
@kaspersv kaspersv marked this pull request as ready for review March 20, 2023 11:24
@kaspersv kaspersv requested review from a team as code owners March 20, 2023 11:24
@kaspersv kaspersv added the no-change-note-required This PR does not need a change note label Mar 20, 2023
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Can we also get rid of revFlowApAlias?

@kaspersv kaspersv changed the title Dataflow: Remove revFlowAlias predicates Dataflow: Remove revFlowAlias and revFlowApAlias predicates Mar 20, 2023
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Let's see what DCA says.

@kaspersv
Copy link
Contributor Author

@hvitved DCA results are in. No evidence of join order regressions.

@aschackmull aschackmull merged commit 3876e43 into github:main Mar 20, 2023
@kaspersv kaspersv deleted the kaspersv/dataflow-remove-alias-preds branch March 23, 2023 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants