additional fix

This commit is contained in:
Aleksandr Smyslov 2024-12-12 15:16:00 +01:00
parent fb66672acd
commit b79f6e8ccc
2 changed files with 5 additions and 2 deletions

View File

@ -127,6 +127,7 @@ class SchemaDiffViewCompare(SchemaDiffObjectCompare):
target = kwargs.get('target')
diff_dict = kwargs.get('diff_dict')
ignore_whitespaces = kwargs.get('ignore_whitespaces')
ignore_partitions = kwargs.get('ignore_partitions')
diff = ''
# Get the difference DDL/DML statements for table
@ -171,7 +172,8 @@ class SchemaDiffViewCompare(SchemaDiffObjectCompare):
"source": source,
"target": target,
"target_schema": target_schema,
"ignore_whitespaces": ignore_whitespaces
"ignore_whitespaces": ignore_whitespaces,
"ignore_partitions": ignore_partitions
}
diff = self._compare_source_and_target(
intersect_keys, module_view, source_params,

View File

@ -358,7 +358,8 @@ def _get_identical_and_different_list(intersect_keys, source_dict, target_dict,
target_params=temp_tgt_params,
source=dict1[key], target=dict2[key], diff_dict=diff_dict,
target_schema=target_schema,
ignore_whitespaces=ignore_whitespaces)
ignore_whitespaces=ignore_whitespaces,
ignore_partitions=ignore_partitions)
else:
temp_src_params = copy.deepcopy(source_params)
temp_tgt_params = copy.deepcopy(target_params)