Skip to content

Conversation

CodyAustinDavis
Copy link
Contributor

Fix naming in MV query:
CASE WHEN CAST(query_work_end_time AS DOUBLE) - CAST(query_work_start_time AS DOUBLE) = 0
THEN 0
ELSE query_work_task_time * (overlap_duration / (CAST(query_work_end_time AS DOUBLE) - CAST(query_work_start_time AS DOUBLE)))
END AS proportional_query_work

Initial commit adding the following 2 assets:
1. SQL MV defining the cost per query allocation logic
2. JSON Dashboard analyzing cost per query
Initial PrPr commit
@CodyAustinDavis CodyAustinDavis requested a review from a team as a code owner February 12, 2025 21:11
@gueniai
Copy link
Collaborator

gueniai commented Feb 13, 2025

Fixed in #345

@gueniai gueniai closed this Feb 13, 2025
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