Skip to content

Commit

Permalink
deixa a proporção como um número entre 0 e 1
Browse files Browse the repository at this point in the history
  • Loading branch information
folhesgabriel committed May 2, 2024
1 parent 8b1b157 commit 35adfb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/generic/custom_relationships.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
count(*) as total_missing,
(select count(*) from child) as total_child_records,
round(
((count(*) * 100) / (select count(*) from child)), 2
((count(*)) / (select count(*) from child)), 2
) as failure_rate
from validation
)
Expand Down
2 changes: 1 addition & 1 deletion tests/generic/custom_unique_combination_of_columns.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
select
duplicates_count,
total_rows,
round(((duplicates_count * 100) / total_rows), 2) as proportion
round(((duplicates_count) / total_rows), 2) as proportion
from summary
)

Expand Down

0 comments on commit 35adfb2

Please sign in to comment.