Skip to content

Adjust script to new queries #33

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

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Adjust script to new queries #33

merged 1 commit into from
Sep 2, 2024

Conversation

fleupold
Copy link
Contributor

This PR upgrades the billing script to the new queries. The main update is the query id, but also some column names that updated. Most importantly, all billing parameters (fee computation start, end and billing date now need to be explicitly provided and can no longer be derived in SQL from the current time)

Additionally, it slightly improves the message sent during drafting to format the amounts more prettily.

Test Plan

Run bill and draft locally

@fleupold fleupold requested a review from cowanator August 29, 2024 16:16
Copy link
Contributor

@cowanator cowanator left a comment

Choose a reason for hiding this comment

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

Looks good, just a timed out test. Did the query get more complex? If so, perhaps we want to run with the "large" query engine.

@fleupold
Copy link
Contributor Author

fleupold commented Sep 2, 2024

Looks like it was a one off error

@fleupold fleupold merged commit 3d035a1 into main Sep 2, 2024
1 check passed
@fleupold fleupold deleted the new_queries branch September 2, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants