Skip to content

Division by 0 #9

@lb-lmit

Description

@lb-lmit

Hello,
using the connector we are facing an error about division by 0 when usage.amount is equal to 0.

Please could you check the queries and fix it?

SUM(cost) / SUM(usage.amount) AS rate

SUM(cost) / SUM(usage.amount) AS rate

I have fix the query changing with SAFE_DIVIDE(SUM(cost), SUM(usage.amount)), but I can't fix it using the connector.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions