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

Delete unused costing code #826

Closed
wants to merge 1 commit into from
Closed

Conversation

courtneyholcomb
Copy link
Contributor

Resolves #SL-1068

Description

Delete costing code that's no longer used. Discussion on this can be found here.

@github-actions
Copy link

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.

Copy link
Contributor

@tlento tlento left a 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?

Comment on lines +130 to +131
join_to_timespine=input_measure.join_to_timespine,
fill_nulls_with=input_measure.fill_nulls_with,
Copy link
Contributor

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.

Copy link
Contributor Author

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??
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert, probably?

Comment on lines +466 to +467
join_to_timespine: bool = False
fill_nulls_with: Optional[int] = None
Copy link
Contributor

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,
Copy link
Contributor

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?

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.

2 participants