From 35adfb2b25480b681945087db186490162ae9c78 Mon Sep 17 00:00:00 2001 From: folhesgabriel Date: Thu, 2 May 2024 16:27:30 -0300 Subject: [PATCH] =?UTF-8?q?deixa=20a=20propor=C3=A7=C3=A3o=20como=20um=20n?= =?UTF-8?q?=C3=BAmero=20entre=200=20e=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/generic/custom_relationships.sql | 2 +- tests/generic/custom_unique_combination_of_columns.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/generic/custom_relationships.sql b/tests/generic/custom_relationships.sql index 618e4a30..32697dee 100644 --- a/tests/generic/custom_relationships.sql +++ b/tests/generic/custom_relationships.sql @@ -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 ) diff --git a/tests/generic/custom_unique_combination_of_columns.sql b/tests/generic/custom_unique_combination_of_columns.sql index 32b6c339..e823f9ee 100644 --- a/tests/generic/custom_unique_combination_of_columns.sql +++ b/tests/generic/custom_unique_combination_of_columns.sql @@ -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 )