This repository was archived by the owner on Nov 3, 2023. It is now read-only.
forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bugfix] Fix ZeroDivisionError and get metrics label with percent met…
…rics (apache#5026) * Fix percent_metrics ZeroDivisionError and can not get metrics with label issue * convert iterator to list * get percentage metrics with get_metric_label method * Adding tests case for expression type metrics * Simplify expression (cherry picked from commit 9f66dae)
- Loading branch information
1 parent
047bb1e
commit cd3f2a0
Showing
2 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters