From 5229a6a25ff5dce70df8102283f2b7e48b57fdfb Mon Sep 17 00:00:00 2001 From: Konstantin Antselovich Date: Fri, 30 May 2025 10:17:57 -0700 Subject: [PATCH] Issue#28 log segment counts and checksums --- data_diff/hashdiff_tables.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data_diff/hashdiff_tables.py b/data_diff/hashdiff_tables.py index 65dbad97..2d99dfba 100644 --- a/data_diff/hashdiff_tables.py +++ b/data_diff/hashdiff_tables.py @@ -213,6 +213,9 @@ def _diff_segments( return info_tree.info.is_diff = True + logger.info( + ". " * level + f"Diffing segment results: count1/count2 {count1}/{count2} checksum1/checksum2 {checksum1}/{checksum2}" + ) return self._bisect_and_diff_segments(ti, table1, table2, info_tree, level=level, max_rows=max(count1, count2)) def _bisect_and_diff_segments(