Skip to content

Commit

Permalink
Re-add as checksum (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericaporter authored Apr 2, 2024
1 parent c78bc69 commit e0c8545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dfe/analytics/services/postgres_checksum_calculator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def calculate_checksum

checksum_sql_query = <<-SQL
SELECT COUNT(*) as row_count,
MD5(COALESCE(STRING_AGG(CHECKSUM_TABLE.ID, '' ORDER BY CHECKSUM_TABLE.#{order_alias} ASC, CHECKSUM_TABLE.ID ASC), ''))
MD5(COALESCE(STRING_AGG(CHECKSUM_TABLE.ID, '' ORDER BY CHECKSUM_TABLE.#{order_alias} ASC, CHECKSUM_TABLE.ID ASC), '')) as checksum
FROM (
SELECT #{table_name_sanitized}.id::TEXT as ID,
#{select_clause}
Expand Down

0 comments on commit e0c8545

Please sign in to comment.