-
Notifications
You must be signed in to change notification settings - Fork 98
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
Fix bug in JoinToTimeSpine
dataflow plans
#1577
Conversation
68c9435
to
3710873
Compare
4765589
to
9cccb81
Compare
3710873
to
d54bc63
Compare
9cccb81
to
2018b8d
Compare
d54bc63
to
ca93230
Compare
2018b8d
to
eeb0105
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
@@ -325,6 +325,7 @@ def test_aggregate_output_join_metric_predicate_pushdown( | |||
) | |||
|
|||
|
|||
@pytest.mark.skip("Predicate pushdown is not implemented for some of the nodes in this plan") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were these passing before this change 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! The optimizers weren't correctly going through all the parent nodes, so this was never hitting the AliasSpecsNode
. That node is new and doesn't have an implementation for the pushdown optimizer.
ca93230
to
1b71261
Compare
We weren't tracking the parent nodes properly, which resulted in improper optimization and nodes missing when displaying the plan. This should not impact the output data, but will hopefully improve query efficiency now that more CTEs are enabled.
eeb0105
to
97b59b0
Compare
We weren't tracking the parent nodes properly, which resulted in improper optimization and nodes missing when displaying the plan. This should not impact the output data, but will hopefully improve query efficiency now that more CTEs are enabled.