-
Notifications
You must be signed in to change notification settings - Fork 99
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
Disable predicate pushdown optimizer #1400
Conversation
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.
LGTM, thanks!
We need to regenerate the persistent schema for bigquery but I'm not sure if that's something that should happen lower down in this stack or on main or what. Please make sure that test passes before merging. Never mind it all works now.
@@ -29,6 +29,14 @@ def all_optimizations() -> FrozenSet[DataflowPlanOptimization]: | |||
"""Convenience method for getting a set of all available optimizations.""" | |||
return frozenset((DataflowPlanOptimization.SOURCE_SCAN, DataflowPlanOptimization.PREDICATE_PUSHDOWN)) | |||
|
|||
@staticmethod | |||
def enabled_obtimizations() -> FrozenSet[DataflowPlanOptimization]: |
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.
nit:
def enabled_obtimizations() -> FrozenSet[DataflowPlanOptimization]: | |
def enabled_optimizations() -> FrozenSet[DataflowPlanOptimization]: |
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.
whoops 😂
1f593a4
to
a064583
Compare
8990f6c
to
77327f4
Compare
Disable predicate pushdown optimizer. This has some bugs that we haven't investigated yet. It has been disabled in our servers, so it should be disabled in MetricFlow by default, too, to ensure where we're doing all our testing matches what's happening in production.