Skip to content

Commit 36309b9

Browse files
author
Dat Nguyen
committed
fix: where in data diff
1 parent cf53d03 commit 36309b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/resources/stored-procedures/create__check_data_diff.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
,trg_table
185185
,column_name
186186
,cnt as diff_count
187-
,(select count(*) from '|| src_db || '.' || src_schema || '.' || src_table || ' where ' || where_condition || ')) as total_count
187+
,(select count(*) from '|| src_db || '.' || src_schema || '.' || src_table || ' where ' || where_condition || ') as total_count
188188
,(1 - match_rate) as diff_feeded_rate
189189
,(1 - diff_count / 2 * 1.0 / total_count) as match_percentage
190190
,''' || ? ||''' as last_data_diff_timestamp

0 commit comments

Comments
 (0)