From fe2eefe6f3bb9ab43e1f0ce3d1d398c5e71c6092 Mon Sep 17 00:00:00 2001 From: sebbrochet Date: Tue, 21 Jun 2022 16:02:26 +0000 Subject: [PATCH] Fix issue #102 --- code/DeltaKustoLib/KustoModel/MappingModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;