We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, using the connector we are facing an error about division by 0 when usage.amount is equal to 0.
division by 0
usage.amount
Please could you check the queries and fix it?
cc-gke-usage-metering/src/query.ts
Line 57 in 107cf72
Line 275 in 107cf72
I have fix the query changing with SAFE_DIVIDE(SUM(cost), SUM(usage.amount)), but I can't fix it using the connector.
SAFE_DIVIDE(SUM(cost), SUM(usage.amount))
The text was updated successfully, but these errors were encountered:
googledatastudio#9
c7256fb
try to fix zero division error
@diminishedprime @sarandia hi, will this repository be updated in the future?
Sorry, something went wrong.
No branches or pull requests
Hello,
using the connector we are facing an error about
division by 0
whenusage.amount
is equal to 0.Please could you check the queries and fix it?
cc-gke-usage-metering/src/query.ts
Line 57 in 107cf72
cc-gke-usage-metering/src/query.ts
Line 275 in 107cf72
I have fix the query changing with
SAFE_DIVIDE(SUM(cost), SUM(usage.amount))
, but I can't fix it using the connector.The text was updated successfully, but these errors were encountered: