-
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
Delete unused costing code #826
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
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.
Is that BigQuery change from another branch or here?
join_to_timespine=input_measure.join_to_timespine, | ||
fill_nulls_with=input_measure.fill_nulls_with, |
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.
These are new..... I'm guessing from another branch? Let's revert these from this PR before merge.
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.
dammit I didn't look at my PR after putting it up 😅 redo time
@@ -673,6 +673,7 @@ def visit_compute_metrics_node(self, node: ComputeMetricsNode) -> SqlDataSet: | |||
else: | |||
expr = metric.name | |||
# Use a column reference to improve query optimization. | |||
# Update metric expr to use coalesce; when to join to time spine?? |
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.
Revert, probably?
join_to_timespine: bool = False | ||
fill_nulls_with: Optional[int] = None |
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.
And this
-- Metric Time Dimension 'ds' | ||
-- Pass Only Elements: | ||
-- ['count_dogs', 'metric_time__day'] | ||
date_day, |
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.
This doesn't belong here either, right?
Resolves #SL-1068
Description
Delete costing code that's no longer used. Discussion on this can be found here.