Skip to content

Commit f4afaeb

Browse files
Update kernel/src/schema/diff.rs
Co-authored-by: OussamaSaoudi <45303303+OussamaSaoudi@users.noreply.github.com>
1 parent 3627395 commit f4afaeb

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

kernel/src/schema/diff.rs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -560,15 +560,13 @@ fn compute_field_update(
560560
}
561561

562562
// Check for type change (including container changes)
563-
if before.field.data_type() != after.field.data_type() {
564-
if let Some(change_type) =
565-
classify_data_type_change(before.field.data_type(), after.field.data_type())
566-
{
567-
changes.push(change_type);
568-
}
569-
// If None is returned, the container structure is the same and nested changes
570-
// are already captured via field IDs, so we don't report a change here
563+
if let Some(change_type) =
564+
classify_data_type_change(before.field.data_type(), after.field.data_type())
565+
{
566+
changes.push(change_type);
571567
}
568+
// If None is returned, the container structure is the same and nested changes
569+
// are already captured via field IDs, so we don't report a change here
572570

573571
// Check for metadata changes (excluding column mapping metadata)
574572
if has_metadata_changes(&before.field, &after.field) {

0 commit comments

Comments
 (0)