diff --git a/code/DeltaKustoLib/KustoModel/MappingModel.cs b/code/DeltaKustoLib/KustoModel/MappingModel.cs index aac8dc86..fb0873a2 100644 --- a/code/DeltaKustoLib/KustoModel/MappingModel.cs +++ b/code/DeltaKustoLib/KustoModel/MappingModel.cs @@ -78,7 +78,7 @@ public override bool Equals(object? obj) var other = obj as MappingElement; var result = other != null && other.Column.Equals(Column) - && other.DataType.Equals(DataType) + && other.DataType != null && other.DataType.Equals(DataType) && other.Properties.Equals(Properties); return result;