Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 3cb517f

Browse files
committed
Small fix
1 parent 010a473 commit 3cb517f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_diff/diff_tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ def _parse_key_range_result(self, key_type, key_range):
174174
def _validate_and_adjust_columns(self, table1, table2):
175175
for c1, c2 in safezip(table1._relevant_columns, table2._relevant_columns):
176176
if c1 not in table1._schema:
177-
raise ValueError(f"Column '{c}' not found in schema for table {table1}")
177+
raise ValueError(f"Column '{c1}' not found in schema for table {table1}")
178178
if c2 not in table2._schema:
179-
raise ValueError(f"Column '{c}' not found in schema for table {table2}")
179+
raise ValueError(f"Column '{c2}' not found in schema for table {table2}")
180180

181181
# Update schemas to minimal mutual precision
182182
col1 = table1._schema[c1]

0 commit comments

Comments
 (0)